﻿<phone:PhoneApplicationPage
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:System_Windows_Controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    xmlns:local="clr-namespace:PhoneInfo"
    xmlns:cc="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    xmlns:delay="clr-namespace:Delay;assembly=PhonePerformance"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls" 
    xmlns:controlsPrimitives="clr-namespace:Microsoft.Phone.Controls.Primitives;assembly=Microsoft.Phone.Controls" 
    x:Class="PhoneInfo.Page.PhonePk"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480"
    shell:SystemTray.IsVisible="false"
    > 
    <phone:PhoneApplicationPage.Resources>
        <local:FixEmptyUrl x:Key="FixUrl"/>
        <Style x:Key="ButtonStyle3" TargetType="Button">
            <Setter Property="Background" Value="Transparent"/>
            <Setter Property="BorderBrush" Value="{StaticResource PhoneForegroundBrush}"/>
            <Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
            <Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
            <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiBold}"/>
            <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
            <Setter Property="Padding" Value="10,3,10,5"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Button">
                        <Grid Background="Transparent">
                            <VisualStateManager.VisualStateGroups>
                                <VisualStateGroup x:Name="CommonStates">
                                    <VisualState x:Name="Normal"/>
                                    <VisualState x:Name="MouseOver"/>
                                    <VisualState x:Name="Pressed">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneBackgroundBrush}"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="ButtonBackground">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneForegroundBrush}"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneForegroundBrush}"/>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualState>
                                    <VisualState x:Name="Disabled">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneDisabledBrush}"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneDisabledBrush}"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="ButtonBackground">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualState>
                                </VisualStateGroup>
                            </VisualStateManager.VisualStateGroups>
                            <Border x:Name="ButtonBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="0" Margin="0">
                                <ContentControl x:Name="ContentContainer" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
                            </Border>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="TabItemStyle1" TargetType="cc:TabItem">
            <Setter Property="IsTabStop" Value="False"/>
            <Setter Property="Background" Value="#FF1F3B53"/>
            <Setter Property="BorderBrush" Value="#FFA3AEB9"/>
            <Setter Property="BorderThickness" Value="1"/>
            <Setter Property="Padding" Value="6,2,6,2"/>
            <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
            <Setter Property="VerticalContentAlignment" Value="Stretch"/>
            <Setter Property="MinWidth" Value="5"/>
            <Setter Property="MinHeight" Value="5"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="cc:TabItem">
                        <Grid x:Name="Root">
                            <VisualStateManager.VisualStateGroups>
                                <VisualStateGroup x:Name="CommonStates">
                                    <VisualStateGroup.Transitions>
                                        <VisualTransition GeneratedDuration="0"/>
                                        <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
                                    </VisualStateGroup.Transitions>
                                    <VisualState x:Name="Normal"/>
                                    <VisualState x:Name="MouseOver">
                                        <Storyboard>
                                            <DoubleAnimationUsingKeyFrames BeginTime="0" Duration="00:00:00.001" 
                                                                      Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="FocusVisualTop">
                                                <SplineDoubleKeyFrame KeyTime="0" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="0" Duration="00:00:00.001" 
                                                                      Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="FocusVisualBottom">
                                                <SplineDoubleKeyFrame KeyTime="0" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="0" Duration="00:00:00.001" 
                                                                     Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="FocusVisualLeft">
                                                <SplineDoubleKeyFrame KeyTime="0" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="0" Duration="00:00:00.001" 
                                                                     Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="FocusVisualRight">
                                                <SplineDoubleKeyFrame KeyTime="0" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualState>
                                    <VisualState x:Name="Disabled">
                                        <Storyboard>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="DisabledVisualTopSelected">
                                                <SplineDoubleKeyFrame KeyTime="0" Value="1"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" 
                                                                        Storyboard.TargetName="DisabledVisualTopUnSelected">
                                                <SplineDoubleKeyFrame KeyTime="0" Value="1"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="DisabledVisualBottomSelected">
                                                <SplineDoubleKeyFrame KeyTime="0" Value="1"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="DisabledVisualBottomUnSelected">
                                                <SplineDoubleKeyFrame KeyTime="0" Value="1"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="DisabledVisualLeftSelected">
                                                <SplineDoubleKeyFrame KeyTime="0" Value="1"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="DisabledVisualLeftUnSelected">
                                                <SplineDoubleKeyFrame KeyTime="0" Value="1"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="DisabledVisualRightSelected">
                                                <SplineDoubleKeyFrame KeyTime="0" Value="1"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="DisabledVisualRightUnSelected">
                                                <SplineDoubleKeyFrame KeyTime="0" Value="1"/>
                                            </DoubleAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualState>
                                </VisualStateGroup>
                                <VisualStateGroup x:Name="SelectionStates">
                                    <VisualState x:Name="Unselected"/>
                                    <VisualState x:Name="Selected"/>
                                </VisualStateGroup>
                                <VisualStateGroup x:Name="FocusStates">
                                    <VisualState x:Name="Focused">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FocusVisualTop">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FocusVisualBottom">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FocusVisualLeft">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FocusVisualRight">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualState>
                                    <VisualState x:Name="Unfocused">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FocusVisualElement">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualState>
                                </VisualStateGroup>
                            </VisualStateManager.VisualStateGroups>
                            <Grid x:Name="TemplateTopSelected" Visibility="Collapsed" Canvas.ZIndex="1">
                                <Border BorderBrush="White" BorderThickness="0" Background="White" CornerRadius="0,0,1,1" Margin="0,0,0,0">
                                    <Border BorderBrush="#FFFFFFFF" Background="#FF599DF1" BorderThickness="0" CornerRadius="0,0,1,1">
                                       
                                    	<Grid>
                                    		<!--<Rectangle Fill="DarkGray" Margin="0,-2,0,0"/>-->
                                    		<ContentControl x:Name="HeaderTopSelected" Cursor="{TemplateBinding Cursor}" Foreground="White" 
                                    			FontSize="30" HorizontalAlignment="Center" 
                                    			IsTabStop="False" 
                                    			VerticalAlignment="Top" Height="40"/>
                                    	</Grid>
                                    </Border>
                                </Border>
                                <Border x:Name="FocusVisualTop" BorderBrush="White" BorderThickness="0" CornerRadius="0,0,3,3" IsHitTestVisible="false" Margin="0" Visibility="Collapsed"/>
                                <Border x:Name="DisabledVisualTopSelected" Background="#00ffffff" CornerRadius="0,0,3,3" IsHitTestVisible="false" Margin="0"/>
                            </Grid>
                            <Grid x:Name="TemplateTopUnselected" Visibility="Collapsed">
                                <Border x:Name="BorderTop" BorderBrush="White" BorderThickness="0" Background="White" CornerRadius="0,0,3,3">
                                    <Border x:Name="GradientTop" BorderBrush="#FFFFFFFF" BorderThickness="0" CornerRadius="0,0,1,1" Background="#FF599DF1">
                                        <Grid>
                                        	<ContentControl x:Name="HeaderTopUnselected" Cursor="{TemplateBinding Cursor}" Foreground="#aed1fd" 
                                    			FontSize="26" HorizontalAlignment="Center" 
                                    			IsTabStop="False"
                                    			VerticalAlignment="Top" Height="40"/>
                                        </Grid>
                                    </Border>
                                </Border>
                                <Border x:Name="DisabledVisualTopUnSelected" Background="#8CFFFFFF" CornerRadius="0,0,3,3" IsHitTestVisible="false" Opacity="0"/>
                            </Grid>
                            <Grid x:Name="TemplateBottomSelected" Visibility="Collapsed" Canvas.ZIndex="1">
                                <Border BorderBrush="White" BorderThickness="0" Background="White" CornerRadius="0,0,1,1" Margin="0,0,0,0">
                                    <Border BorderBrush="#FFFFFFFF" Background="#d6d6d6" BorderThickness="0" CornerRadius="0,0,1,1">
                                        <!--<Border.Background>
                                            <LinearGradientBrush EndPoint=".7,1" StartPoint=".7,0">
                                                <GradientStop Color="#FFFFFFFF" Offset="0"/>
                                                <GradientStop Color="#F9FFFFFF" Offset="0.375"/>
                                                <GradientStop Color="#E5FFFFFF" Offset="0.625"/>
                                                <GradientStop Color="#C6FFFFFF" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Border.Background>-->
                                        <Grid>
                                            <!--<Rectangle Fill="DarkGray" Margin="0,-2,0,0"/>-->
                                            <Path Stroke="Wheat" Fill="White" Data="M 0,10 L -7,0 L 7,0 Z" Margin="0" VerticalAlignment="Top" HorizontalAlignment="Center" />
                                            <ContentControl x:Name="HeaderBottomSelected" Cursor="{TemplateBinding Cursor}"  Foreground="White" 
                                                            FontSize="{TemplateBinding FontSize}" HorizontalAlignment="{TemplateBinding HorizontalAlignment}" 
                                                            IsTabStop="False" Margin="0,0,0,10" 
                                                            VerticalAlignment="{TemplateBinding VerticalAlignment}" Background="DarkBlue"/>
                                        </Grid>
                                    </Border>
                                </Border>
                                <Border x:Name="FocusVisualBottom" BorderBrush="White" BorderThickness="0" CornerRadius="0,0,3,3" IsHitTestVisible="false" Margin="0" Visibility="Collapsed"/>
                                <Border x:Name="DisabledVisualBottomSelected" Background="#00ffffff" CornerRadius="0,0,3,3" IsHitTestVisible="false" Margin="0" />
                            </Grid>
                            <Grid x:Name="TemplateBottomUnselected" Visibility="Collapsed">
                                <Border x:Name="BorderBottom" BorderBrush="White" BorderThickness="0" Background="White" CornerRadius="0,0,3,3">
                                    <Border x:Name="GradientBottom" BorderBrush="#FFFFFFFF" BorderThickness="0" CornerRadius="0,0,1,1" Background="#7db1c6">
                                        <Grid>
                                            <ContentControl x:Name="HeaderBottomUnselected" 
                                                            Cursor="{TemplateBinding Cursor}" Foreground="#caedfb" FontSize="{TemplateBinding FontSize}"
                                                            HorizontalAlignment="{TemplateBinding HorizontalAlignment}" IsTabStop="False" 
                                                            Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalAlignment}"/>
                                        </Grid>
                                    </Border>
                                </Border>
                                <Border x:Name="DisabledVisualBottomUnSelected" Background="#8CFFFFFF" CornerRadius="0,0,3,3" IsHitTestVisible="false" Opacity="0"/>
                            </Grid>
                            <Grid x:Name="TemplateLeftSelected" Visibility="Collapsed" Canvas.ZIndex="1">
                                <Border BorderBrush="White" BorderThickness="1,1,0,1" Background="White" CornerRadius="3,0,0,3" Margin="-2,-2,0,-2">
                                    <Border BorderBrush="#FFFFFFFF" BorderThickness="1" CornerRadius="1,0,0,1">
                                        <Border.Background>
                                            <LinearGradientBrush EndPoint=".7,1" StartPoint=".7,0">
                                                <GradientStop Color="#FFFFFFFF" Offset="0"/>
                                                <GradientStop Color="#F9FFFFFF" Offset="0.375"/>
                                                <GradientStop Color="#E5FFFFFF" Offset="0.625"/>
                                                <GradientStop Color="#C6FFFFFF" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Border.Background>
                                        <Grid>
                                            <Rectangle Fill="Black" Margin="0,0,-2,0"/>
                                            <ContentControl x:Name="HeaderLeftSelected" Cursor="{TemplateBinding Cursor}" Foreground="White" 
                                                            FontSize="{TemplateBinding FontSize}" 
                                                            HorizontalAlignment="{TemplateBinding HorizontalAlignment}" 
                                                            IsTabStop="False" Margin="{TemplateBinding Padding}" 
                                                            VerticalAlignment="{TemplateBinding VerticalAlignment}"/>
                                        </Grid>
                                    </Border>
                                </Border>
                                <Border x:Name="FocusVisualLeft" BorderBrush="White" BorderThickness="1,1,0,1" CornerRadius="3,0,0,3" 
                                        IsHitTestVisible="false" Margin="-2,-2,0,-2" Visibility="Collapsed"/>
                                <Border x:Name="DisabledVisualLeftSelected" Background="#8CFFFFFF" CornerRadius="3,0,0,3" IsHitTestVisible="false" 
                                        Margin="-2,-2,0,-2" Opacity="0"/>
                            </Grid>
                            <Grid x:Name="TemplateLeftUnselected" Visibility="Collapsed">
                                <Border x:Name="BorderLeft" BorderBrush="White" BorderThickness="{TemplateBinding BorderThickness}" Background="White" CornerRadius="3,0,0,3">
                                    <Border x:Name="GradientLeft" BorderBrush="#FFFFFFFF" BorderThickness="1" CornerRadius="1,0,0,1" Background="#FF272727">
                                        <Grid>
                                            <ContentControl x:Name="HeaderLeftUnselected" Cursor="{TemplateBinding Cursor}" Foreground="White" 
                                                            FontSize="{TemplateBinding FontSize}" 
                                                            HorizontalAlignment="{TemplateBinding HorizontalAlignment}" IsTabStop="False" 
                                                            Margin="{TemplateBinding Padding}"
                                                            VerticalAlignment="{TemplateBinding VerticalAlignment}"/>
                                        </Grid>
                                    </Border>
                                </Border>
                                <Border x:Name="DisabledVisualLeftUnSelected" Background="#8CFFFFFF" CornerRadius="3,0,0,3" IsHitTestVisible="false" 
                                        Opacity="0"/>
                            </Grid>
                            <Grid x:Name="TemplateRightSelected" Visibility="Collapsed" Canvas.ZIndex="1">
                                <Border BorderBrush="White" BorderThickness="0,1,1,1" Background="White" CornerRadius="0,3,3,0" Margin="0,-2,-2,-2">
                                    <Border BorderBrush="#FFFFFFFF" BorderThickness="1" CornerRadius="0,1,1,0">
                                        <Border.Background>
                                            <LinearGradientBrush EndPoint=".7,1" StartPoint=".7,0">
                                                <GradientStop Color="#FFFFFFFF" Offset="0"/>
                                                <GradientStop Color="#F9FFFFFF" Offset="0.375"/>
                                                <GradientStop Color="#E5FFFFFF" Offset="0.625"/>
                                                <GradientStop Color="#C6FFFFFF" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Border.Background>
                                        <Grid>
                                            <Rectangle Fill="Black" Margin="-2,0,0,0"/>
                                            <ContentControl x:Name="HeaderRightSelected" Cursor="{TemplateBinding Cursor}" Foreground="White"
                                                            FontSize="{TemplateBinding FontSize}"
                                                            HorizontalAlignment="{TemplateBinding HorizontalAlignment}" 
                                                            IsTabStop="False" Margin="{TemplateBinding Padding}"
                                                            VerticalAlignment="{TemplateBinding VerticalAlignment}"/>
                                        </Grid>
                                    </Border>
                                </Border>
                                <Border x:Name="FocusVisualRight" BorderBrush="White" BorderThickness="0,1,1,1" CornerRadius="0,3,3,0" 
                                        IsHitTestVisible="false" Margin="0,-2,-2,-2" Visibility="Collapsed"/>
                                <Border x:Name="DisabledVisualRightSelected" Background="#8CFFFFFF" 
                                        CornerRadius="0,3,3,0" IsHitTestVisible="false" Margin="0,-2,-2,-2" Opacity="0"/>
                            </Grid>
                            <Grid x:Name="TemplateRightUnselected" Visibility="Collapsed">
                                <Border x:Name="BorderRight" BorderBrush="White" BorderThickness="1" Background="White" CornerRadius="0,3,3,0">
                                    <Border x:Name="GradientRight" BorderThickness="1" CornerRadius="0,1,1,0" Background="#FF272727">
                                        <Grid>
                                            <ContentControl x:Name="HeaderRightUnselected" Cursor="{TemplateBinding Cursor}" Foreground="White" 
                                                            FontSize="{TemplateBinding FontSize}" HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
                                                            IsTabStop="False" Margin="{TemplateBinding Padding}" 
                                                            VerticalAlignment="{TemplateBinding VerticalAlignment}"/>
                                        </Grid>
                                    </Border>
                                </Border>
                                <Border x:Name="DisabledVisualRightUnSelected" Background="#8CFFFFFF" CornerRadius="0,3,3,0" IsHitTestVisible="false" 
                                        Opacity="0"/>
                            </Grid>
                            <Border x:Name="FocusVisualElement" BorderBrush="white" BorderThickness="1" 
                                             CornerRadius="3,3,0,0" IsHitTestVisible="false" Margin="-1" Visibility="Collapsed" 
                                             d:IsHidden="True"/>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="ListBoxStyle1" TargetType="ListBox">
            <Setter Property="Background" Value="Transparent"/>
            <Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
            <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled"/>
            <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
            <Setter Property="BorderThickness" Value="0"/>
            <Setter Property="BorderBrush" Value="Transparent"/>
            <Setter Property="Padding" Value="0"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="ListBox">
                        <ItemsPresenter/>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="ButtonStyle1" TargetType="Button">
            <Setter Property="Background" Value="Transparent"/>
            <Setter Property="BorderBrush" Value="{StaticResource PhoneForegroundBrush}"/>
            <Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
            <Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
            <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiBold}"/>
            <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
            <Setter Property="Padding" Value="10,3,10,5"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Button">
                        <Grid Background="Transparent">
                            <VisualStateManager.VisualStateGroups>
                                <VisualStateGroup x:Name="CommonStates">
                                    <VisualState x:Name="Normal"/>
                                    <VisualState x:Name="MouseOver"/>
                                    <VisualState x:Name="Pressed">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneBackgroundBrush}"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="ButtonBackground">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneForegroundBrush}"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneForegroundBrush}"/>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualState>
                                    <VisualState x:Name="Disabled">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneDisabledBrush}"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneDisabledBrush}"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="ButtonBackground">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualState>
                                </VisualStateGroup>
                            </VisualStateManager.VisualStateGroups>
                            <Border x:Name="ButtonBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="0" Margin="0">
                                <ContentControl x:Name="ContentContainer" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
                            </Border>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <ControlTemplate x:Key="PhoneProgressBarSliderThumb" TargetType="Thumb">
            <Rectangle Fill="{TemplateBinding Foreground}" Height="4" IsHitTestVisible="False" Width="4"/>
        </ControlTemplate>
        <Style x:Key="PhoneProgressBarSliderStyle" TargetType="Slider">
            <Setter Property="Maximum" Value="3000"/>
            <Setter Property="Minimum" Value="0"/>
            <Setter Property="Value" Value="0"/>
            <Setter Property="Opacity" Value="0"/>
            <Setter Property="IsTabStop" Value="False"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Slider">
                        <Grid IsHitTestVisible="False">
                            <Grid x:Name="HorizontalTemplate">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto"/>
                                    <ColumnDefinition Width="Auto"/>
                                    <ColumnDefinition Width="*"/>
                                </Grid.ColumnDefinitions>
                                <RepeatButton x:Name="HorizontalTrackLargeChangeDecreaseRepeatButton" Grid.Column="0" Height="0" Template="{x:Null}"/>
                                <Thumb x:Name="HorizontalThumb" Grid.Column="1" Foreground="{TemplateBinding Foreground}" Height="4" IsTabStop="False" Template="{StaticResource PhoneProgressBarSliderThumb}"/>
                                <RepeatButton x:Name="HorizontalTrackLargeChangeIncreaseRepeatButton" Grid.Column="2" Height="0" Template="{x:Null}"/>
                            </Grid>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="ProgressBarStyle1" TargetType="ProgressBar">
            <Setter Property="Foreground" Value="{StaticResource PhoneAccentBrush}"/>
            <Setter Property="Background" Value="{StaticResource PhoneAccentBrush}"/>
            <Setter Property="Maximum" Value="100"/>
            <Setter Property="IsHitTestVisible" Value="False"/>
            <Setter Property="Padding" Value="{StaticResource PhoneHorizontalMargin}"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="ProgressBar">
                        <Grid>
                            <VisualStateManager.VisualStateGroups>
                                <VisualStateGroup x:Name="CommonStates">
                                    <VisualState x:Name="Determinate"/>
                                    <VisualState x:Name="Indeterminate">
                                        <Storyboard Duration="00:00:04.4" RepeatBehavior="Forever">
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="IndeterminateRoot">
                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                    <DiscreteObjectKeyFrame.Value>
                                                        <Visibility>Visible</Visibility>
                                                    </DiscreteObjectKeyFrame.Value>
                                                </DiscreteObjectKeyFrame>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DeterminateRoot">
                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                    <DiscreteObjectKeyFrame.Value>
                                                        <Visibility>Collapsed</Visibility>
                                                    </DiscreteObjectKeyFrame.Value>
                                                </DiscreteObjectKeyFrame>
                                            </ObjectAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Value" Storyboard.TargetName="Slider1">
                                                <EasingDoubleKeyFrame KeyTime="00:00:00.5" Value="1000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseOut" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                                <LinearDoubleKeyFrame KeyTime="00:00:02.0" Value="2000"/>
                                                <EasingDoubleKeyFrame KeyTime="00:00:02.5" Value="3000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseIn" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.2" Storyboard.TargetProperty="Value" Storyboard.TargetName="Slider2">
                                                <EasingDoubleKeyFrame KeyTime="00:00:00.5" Value="1000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseOut" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                                <LinearDoubleKeyFrame KeyTime="00:00:02.0" Value="2000"/>
                                                <EasingDoubleKeyFrame KeyTime="00:00:02.5" Value="3000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseIn" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.4" Storyboard.TargetProperty="Value" Storyboard.TargetName="Slider3">
                                                <EasingDoubleKeyFrame KeyTime="00:00:00.5" Value="1000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseOut" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                                <LinearDoubleKeyFrame KeyTime="00:00:02.0" Value="2000"/>
                                                <EasingDoubleKeyFrame KeyTime="00:00:02.5" Value="3000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseIn" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.6" Storyboard.TargetProperty="Value" Storyboard.TargetName="Slider4">
                                                <EasingDoubleKeyFrame KeyTime="00:00:00.5" Value="1000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseOut" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                                <LinearDoubleKeyFrame KeyTime="00:00:02.0" Value="2000"/>
                                                <EasingDoubleKeyFrame KeyTime="00:00:02.5" Value="3000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseIn" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.8" Storyboard.TargetProperty="Value" Storyboard.TargetName="Slider5">
                                                <EasingDoubleKeyFrame KeyTime="00:00:00.5" Value="1000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseOut" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                                <LinearDoubleKeyFrame KeyTime="00:00:02.0" Value="2000"/>
                                                <EasingDoubleKeyFrame KeyTime="00:00:02.5" Value="3000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseIn" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Slider1">
                                                <DiscreteDoubleKeyFrame KeyTime="0" Value="1"/>
                                                <DiscreteDoubleKeyFrame KeyTime="00:00:02.5" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.2" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Slider2">
                                                <DiscreteDoubleKeyFrame KeyTime="0" Value="1"/>
                                                <DiscreteDoubleKeyFrame KeyTime="00:00:02.5" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.4" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Slider3">
                                                <DiscreteDoubleKeyFrame KeyTime="0" Value="1"/>
                                                <DiscreteDoubleKeyFrame KeyTime="00:00:02.5" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.6" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Slider4">
                                                <DiscreteDoubleKeyFrame KeyTime="0" Value="1"/>
                                                <DiscreteDoubleKeyFrame KeyTime="00:00:02.5" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.8" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Slider5">
                                                <DiscreteDoubleKeyFrame KeyTime="0" Value="1"/>
                                                <DiscreteDoubleKeyFrame KeyTime="00:00:02.5" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualState>
                                </VisualStateGroup>
                            </VisualStateManager.VisualStateGroups>
                            <Grid x:Name="DeterminateRoot" Margin="{TemplateBinding Padding}" Visibility="Visible">
                                <Rectangle x:Name="ProgressBarTrack" Fill="{TemplateBinding Background}" Height="15"/>
                                <Rectangle x:Name="ProgressBarIndicator" Fill="{TemplateBinding Foreground}" HorizontalAlignment="Left" Height="15"/>
                            </Grid>
                            <Border x:Name="IndeterminateRoot" Margin="{TemplateBinding Padding}" Visibility="Collapsed">
                                <Grid>
                                    <Slider x:Name="Slider1" Foreground="{TemplateBinding Foreground}" Style="{StaticResource PhoneProgressBarSliderStyle}"/>
                                    <Slider x:Name="Slider2" Foreground="{TemplateBinding Foreground}" Style="{StaticResource PhoneProgressBarSliderStyle}"/>
                                    <Slider x:Name="Slider3" Foreground="{TemplateBinding Foreground}" Style="{StaticResource PhoneProgressBarSliderStyle}"/>
                                    <Slider x:Name="Slider4" Foreground="{TemplateBinding Foreground}" Style="{StaticResource PhoneProgressBarSliderStyle}"/>
                                    <Slider x:Name="Slider5" Foreground="{TemplateBinding Foreground}" Style="{StaticResource PhoneProgressBarSliderStyle}"/>
                                </Grid>
                            </Border>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="ProgressBarStyle2" TargetType="ProgressBar">
            <Setter Property="Foreground" Value="{StaticResource PhoneAccentBrush}"/>
            <Setter Property="Background" Value="{StaticResource PhoneAccentBrush}"/>
            <Setter Property="Maximum" Value="100"/>
            <Setter Property="IsHitTestVisible" Value="False"/>
            <Setter Property="Padding" Value="{StaticResource PhoneHorizontalMargin}"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="ProgressBar">
                        <Grid>
                            <VisualStateManager.VisualStateGroups>
                                <VisualStateGroup x:Name="CommonStates">
                                    <VisualState x:Name="Determinate"/>
                                    <VisualState x:Name="Indeterminate">
                                        <Storyboard Duration="00:00:04.4" RepeatBehavior="Forever">
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="IndeterminateRoot">
                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                    <DiscreteObjectKeyFrame.Value>
                                                        <Visibility>Visible</Visibility>
                                                    </DiscreteObjectKeyFrame.Value>
                                                </DiscreteObjectKeyFrame>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DeterminateRoot">
                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                    <DiscreteObjectKeyFrame.Value>
                                                        <Visibility>Collapsed</Visibility>
                                                    </DiscreteObjectKeyFrame.Value>
                                                </DiscreteObjectKeyFrame>
                                            </ObjectAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Value" Storyboard.TargetName="Slider1">
                                                <EasingDoubleKeyFrame KeyTime="00:00:00.5" Value="1000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseOut" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                                <LinearDoubleKeyFrame KeyTime="00:00:02.0" Value="2000"/>
                                                <EasingDoubleKeyFrame KeyTime="00:00:02.5" Value="3000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseIn" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.2" Storyboard.TargetProperty="Value" Storyboard.TargetName="Slider2">
                                                <EasingDoubleKeyFrame KeyTime="00:00:00.5" Value="1000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseOut" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                                <LinearDoubleKeyFrame KeyTime="00:00:02.0" Value="2000"/>
                                                <EasingDoubleKeyFrame KeyTime="00:00:02.5" Value="3000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseIn" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.4" Storyboard.TargetProperty="Value" Storyboard.TargetName="Slider3">
                                                <EasingDoubleKeyFrame KeyTime="00:00:00.5" Value="1000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseOut" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                                <LinearDoubleKeyFrame KeyTime="00:00:02.0" Value="2000"/>
                                                <EasingDoubleKeyFrame KeyTime="00:00:02.5" Value="3000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseIn" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.6" Storyboard.TargetProperty="Value" Storyboard.TargetName="Slider4">
                                                <EasingDoubleKeyFrame KeyTime="00:00:00.5" Value="1000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseOut" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                                <LinearDoubleKeyFrame KeyTime="00:00:02.0" Value="2000"/>
                                                <EasingDoubleKeyFrame KeyTime="00:00:02.5" Value="3000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseIn" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.8" Storyboard.TargetProperty="Value" Storyboard.TargetName="Slider5">
                                                <EasingDoubleKeyFrame KeyTime="00:00:00.5" Value="1000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseOut" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                                <LinearDoubleKeyFrame KeyTime="00:00:02.0" Value="2000"/>
                                                <EasingDoubleKeyFrame KeyTime="00:00:02.5" Value="3000">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <ExponentialEase EasingMode="EaseIn" Exponent="1"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Slider1">
                                                <DiscreteDoubleKeyFrame KeyTime="0" Value="1"/>
                                                <DiscreteDoubleKeyFrame KeyTime="00:00:02.5" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.2" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Slider2">
                                                <DiscreteDoubleKeyFrame KeyTime="0" Value="1"/>
                                                <DiscreteDoubleKeyFrame KeyTime="00:00:02.5" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.4" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Slider3">
                                                <DiscreteDoubleKeyFrame KeyTime="0" Value="1"/>
                                                <DiscreteDoubleKeyFrame KeyTime="00:00:02.5" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.6" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Slider4">
                                                <DiscreteDoubleKeyFrame KeyTime="0" Value="1"/>
                                                <DiscreteDoubleKeyFrame KeyTime="00:00:02.5" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.8" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Slider5">
                                                <DiscreteDoubleKeyFrame KeyTime="0" Value="1"/>
                                                <DiscreteDoubleKeyFrame KeyTime="00:00:02.5" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualState>
                                </VisualStateGroup>
                            </VisualStateManager.VisualStateGroups>
                            <Grid x:Name="DeterminateRoot" Margin="{TemplateBinding Padding}" Visibility="Visible">
                                <Rectangle x:Name="ProgressBarTrack" Fill="{TemplateBinding Background}" Height="15"/>
                                <Rectangle x:Name="ProgressBarIndicator" Fill="{TemplateBinding Foreground}" HorizontalAlignment="Left" Height="15"/>
                            </Grid>
                            <Border x:Name="IndeterminateRoot" Margin="{TemplateBinding Padding}" Visibility="Collapsed">
                                <Grid>
                                    <Slider x:Name="Slider1" Foreground="{TemplateBinding Foreground}" Style="{StaticResource PhoneProgressBarSliderStyle}"/>
                                    <Slider x:Name="Slider2" Foreground="{TemplateBinding Foreground}" Style="{StaticResource PhoneProgressBarSliderStyle}"/>
                                    <Slider x:Name="Slider3" Foreground="{TemplateBinding Foreground}" Style="{StaticResource PhoneProgressBarSliderStyle}"/>
                                    <Slider x:Name="Slider4" Foreground="{TemplateBinding Foreground}" Style="{StaticResource PhoneProgressBarSliderStyle}"/>
                                    <Slider x:Name="Slider5" Foreground="{TemplateBinding Foreground}" Style="{StaticResource PhoneProgressBarSliderStyle}"/>
                                </Grid>
                            </Border>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="ButtonStyle2" TargetType="Button">
        	<Setter Property="Template">
        		<Setter.Value>
        			<ControlTemplate TargetType="Button">
        				<Grid>
        					<Image Source="{Binding Tag, RelativeSource={RelativeSource TemplatedParent}}"/>
        				</Grid>
        			</ControlTemplate>
        		</Setter.Value>
        	</Setter>
        </Style>
        
        <Style x:Key="ButtonStyle4" TargetType="Button">
        	<Setter Property="Template">
        		<Setter.Value>
        			<ControlTemplate TargetType="Button">
        				<Grid x:Name="grid" Background="Transparent">
        					<VisualStateManager.VisualStateGroups>
        						<VisualStateGroup x:Name="CommonStates">
        							<VisualState x:Name="Disabled"/>
        							<VisualState x:Name="Normal"/>
        							<VisualState x:Name="MouseOver">
        								<Storyboard>
        									<ColorAnimation Duration="0" To="White" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="grid" d:IsOptimized="True"/>
        									<ColorAnimation Duration="0" To="Black" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="textBlock" d:IsOptimized="True"/>
        								</Storyboard>
        							</VisualState>
        							<VisualState x:Name="Pressed">
        								<Storyboard>
        									<ColorAnimation Duration="0" To="White" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="grid" d:IsOptimized="True"/>
        									<ColorAnimation Duration="0" To="Black" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="textBlock" d:IsOptimized="True"/>
        								</Storyboard>
        							</VisualState>
        						</VisualStateGroup>
        					</VisualStateManager.VisualStateGroups>
							<TextBlock x:Name="textBlock" Margin="7,0,0,0" Text="{TemplateBinding Content}"/>
        				</Grid>
        			</ControlTemplate>
        		</Setter.Value>
        	</Setter>
        	<Setter Property="FontSize" Value="26.667"/>
        	<Setter Property="Foreground" Value="#FF025FAE"/>
        </Style>
        <Storyboard x:Name="sto1">
            <DoubleAnimation Duration="0:0:0.4" To="376" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="canvas1" d:IsOptimized="True"/>
        </Storyboard>
		<Storyboard x:Name="sto2">
        	<DoubleAnimation Duration="0:0:0.4" To="376" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="canvas2" d:IsOptimized="True"/>
        </Storyboard>

        <Storyboard x:Name="sto1_hide">
            <DoubleAnimation Duration="0:0:0.3" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="canvas1" d:IsOptimized="True"/>
        </Storyboard>
        <Storyboard x:Name="sto2_hide">
            <DoubleAnimation Duration="0:0:0.3" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="canvas2" d:IsOptimized="True"/>
        </Storyboard>

    </phone:PhoneApplicationPage.Resources>
    <phone:PhoneApplicationPage.FontFamily>
        <StaticResource ResourceKey="PhoneFontFamilyNormal"/>
    </phone:PhoneApplicationPage.FontFamily>
    <phone:PhoneApplicationPage.FontSize>
        <StaticResource ResourceKey="PhoneFontSizeNormal"/>
    </phone:PhoneApplicationPage.FontSize>
    <phone:PhoneApplicationPage.Foreground>
        <StaticResource ResourceKey="PhoneForegroundBrush"/>
    </phone:PhoneApplicationPage.Foreground>
    <!--LayoutRoot 是包含所有页面内容的根网格-->
    <Grid x:Name="LayoutRoot" Background="{Binding cuTheme.TextBrush, Source={StaticResource Theme}}">
        <Grid.RowDefinitions>
            <RowDefinition Height="10"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        <toolkit:PerformanceProgressBar   Foreground="Orange" Grid.Row="0"  x:Name="ProgBar" Visibility="Visible"  IsIndeterminate="True" Height="10" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0" Grid.ColumnSpan="2"  Width="480" />
        <Grid x:Name="parameter" Grid.Row="1" Margin="5,6,5,4" Background="Transparent">
            <ScrollViewer Margin="0" d:LayoutOverrides="GridBox">
                <StackPanel>
                    <StackPanel Margin="21,9,0,0">
                        <StackPanel Orientation="Horizontal">
                            <TextBlock TextWrapping="Wrap" Text="手机型号" Width="105" Margin="0" FontSize="24"  
							             HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF0069AC" />
                            <TextBlock x:Name="TextType1" Margin="20,0,0,0" FontSize="18"  Width="118"
							            Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"
							           TextWrapping="Wrap" VerticalAlignment="Top" Tag="t1" TextAlignment="Center" />
                            <Button x:Name="nameBtn1" Content="Button" Height="32" Tag="/Icon/info/del.png" Margin="2,0,0,0" 
                                    Click="Button_Click"
                                    Style="{StaticResource ButtonStyle2}" Width="32"/>
                            <TextBlock x:Name="TextType2" Margin="10,0,0,0" FontSize="18" TextWrapping="Wrap" Width="130" 
							            Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"
										VerticalAlignment="Top" Tag="t2" TextAlignment="Center"  />
                            <Button x:Name="nameBtn2" Content="Button" Height="32" Margin="0" Tag="/Icon/info/del.png" 
                                    Style="{StaticResource ButtonStyle2}" Width="32" Click="Button_Click_2"/>
                        </StackPanel>
                        <StackPanel Orientation="Horizontal">
                            <TextBlock TextWrapping="Wrap" Width="105" Text="外形图片" FontSize="24"  Margin="0" 
							            Foreground="#FF0069AC" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                            <Grid Margin="4,0,0,0" Width="130" Height="110"
							HorizontalAlignment="Center" VerticalAlignment="Center" >
								<Image  x:Name="typePhone1" HorizontalAlignment="Center"  VerticalAlignment="Center" 
								Width="66" Height="110" Tag="t1_source" Stretch="Fill"/>
                            </Grid>
                            <Grid Margin="40,0,0,0" Width="130" Height="110" Tag="t2" HorizontalAlignment="Center" VerticalAlignment="Center">
                                <Image  x:Name="typePhone2" HorizontalAlignment="Center"  VerticalAlignment="Center" 
								Width="66" Height="110" Stretch="Fill"/>
                            </Grid>
                        </StackPanel>

                        <StackPanel Orientation="Horizontal" VerticalAlignment="Top">
                            <TextBlock TextWrapping="Wrap" Text="整体对比" HorizontalAlignment="Center"  FontSize="24" VerticalAlignment="Center"
									Foreground="#FF0069AC" Width="105" />
                            <Button Content="投票" Margin="4,0,0,0" Click="Add_Vote1" Width="130" BorderThickness="0" 
									FontSize="22" Style="{StaticResource ButtonStyle1}" Background="#599df1" HorizontalAlignment="Center" VerticalAlignment="Center" Height="36" BorderBrush="#FF3D0C0C" Tag=""/>
                            <Button Content="投票" Margin="40,0,0,0" Click="Add_Vote2" Width="130"  BorderThickness="0"
									FontSize="22" Style="{StaticResource ButtonStyle1}" Background="#599df1" HorizontalAlignment="Center" VerticalAlignment="Center" Height="36" Tag=""/>
                        </StackPanel>

                    </StackPanel>
                    <StackPanel Margin="15,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="450" >

                        <StackPanel Orientation="Horizontal">
                            <TextBlock Margin="15,0,0,0"  TextWrapping="Wrap" Text="质量"  VerticalAlignment="Center" FontSize="16"
							            Foreground="#FF707070"/>
                            <StackPanel Margin="70,0,0,0" Orientation="Horizontal">
                                <ProgressBar   x:Name="progBar11" Width="150" Value="0" Minimum="0" Background="#bacee8" Foreground="#80c269" Height="27" Style="{StaticResource ProgressBarStyle2}" Margin="-15,0,0,0" Tag="t1_value"/>
                                <TextBlock  x:Name="TextprogBar11"   TextWrapping="Wrap" FontSize="16"
							            Foreground="#FF707070" Margin="-150,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Tag="t1"/>
                            </StackPanel>
                            <StackPanel Margin="25,0,0,0" Orientation="Horizontal">
                                <ProgressBar  Margin="-5,0,0,0" x:Name="progBar12" Width="150" Value="0"  Minimum="0" Background="#bacee8" Foreground="#80c269" Height="18" Style="{StaticResource ProgressBarStyle2}" Tag="t2_value" />
                                <TextBlock   x:Name="TextprogBar12" TextWrapping="Wrap"  FontSize="16"
												Foreground="#FF707070" Margin="-150,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Tag="t2"/>
                            </StackPanel>
                        </StackPanel>
                        <StackPanel  Orientation="Horizontal">
                            <TextBlock  Margin="15,0,0,0" TextWrapping="Wrap" Text="品牌" FontSize="16"
							            Foreground="#FF707070" VerticalAlignment="Center"/>
                            <StackPanel Margin="70,0,0,0" Orientation="Horizontal">
                                <ProgressBar  Margin="-15,0,0,0" x:Name="progBar21" Width="150" Value="0" Minimum="0"  Background="#bacee8" Foreground="#80c269" Style="{StaticResource ProgressBarStyle2}" Tag="t1_value"/>
                                <TextBlock  x:Name="TextprogBar21"  TextWrapping="Wrap" FontSize="16"
							            Foreground="#FF707070" Margin="-150,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Tag="t1"/>
                            </StackPanel>
                            <StackPanel Margin="25,0,0,0" Orientation="Horizontal">
                                <ProgressBar  Margin="-5,0,0,0"  x:Name="progBar22" Width="150" Value="0" Minimum="0"  Background="#bacee8" Foreground="#80c269" Style="{StaticResource ProgressBarStyle2}" Tag="t2_value"/>
                                <TextBlock  x:Name="TextprogBar22"  TextWrapping="Wrap" FontSize="16"
							            Foreground="#FF707070" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="-150,0,0,0" Tag="t2"/>
                            </StackPanel>
                        </StackPanel>
                        <StackPanel  Orientation="Horizontal">
                            <TextBlock Margin="15,0,0,0" TextWrapping="Wrap" Text="价格" FontSize="16"
							            Foreground="#FF707070" VerticalAlignment="Center"/>
                            <StackPanel Margin="70,0,0,0" Orientation="Horizontal">
                                <ProgressBar  Margin="-15,0,0,0" x:Name="progBar31" Width="150" Value="0" Minimum="0"  Background="#bacee8" Foreground="#80c269" Style="{StaticResource ProgressBarStyle2}" Tag="t1_value"/>
                                <TextBlock  x:Name="TextprogBar31"  TextWrapping="Wrap" FontSize="16"
							            Foreground="#FF707070" Margin="-150,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Tag="t1"/>
                            </StackPanel>
                            <StackPanel Margin="25,0,0,0" Orientation="Horizontal">
                                <ProgressBar  Margin="-5,0,0,0" x:Name="progBar32" Width="150" Value="0" Minimum="0"  Background="#bacee8" Foreground="#80c269" Style="{StaticResource ProgressBarStyle2}" Tag="t2_value" />
                                <TextBlock  x:Name="TextprogBar32"  TextWrapping="Wrap" FontSize="16"
							            Foreground="#FF707070" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="-150,0,0,0" Tag="t2"/>
                            </StackPanel>
                        </StackPanel>
                        <StackPanel Orientation="Horizontal">
                            <TextBlock Margin="15,0,0,0" TextWrapping="Wrap" Text="功能" FontSize="16"
							            Foreground="#FF707070" VerticalAlignment="Center" />
                            <StackPanel Margin="70,0,0,0" Orientation="Horizontal">
                                <ProgressBar   Margin="-15,0,0,0" x:Name="progBar41" Width="150" Value="0" Minimum="0"  Background="#bacee8" Foreground="#80c269" Style="{StaticResource ProgressBarStyle2}" Tag="t1_value"/>
                                <TextBlock  x:Name="TextprogBar41"  TextWrapping="Wrap" FontSize="16"
							            Foreground="#FF707070" Margin="-150,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Tag="t1"/>
                            </StackPanel>
                            <StackPanel Margin="25,0,0,0" Orientation="Horizontal">
                                <ProgressBar  Margin="-5,0,0,0"  x:Name="progBar42"  Width="150" Value="0" Minimum="0"  Background="#bacee8" Foreground="#80c269" Style="{StaticResource ProgressBarStyle2}" Tag="t2_value"/>
                                <TextBlock  x:Name="TextprogBar42"  TextWrapping="Wrap" FontSize="16"
							            Foreground="#FF707070" Margin="-150,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Tag="t2"/>
                            </StackPanel>
                        </StackPanel>
                        <StackPanel  Orientation="Horizontal">
                            <TextBlock Margin="15,0,0,0" TextWrapping="Wrap" Text="外观" FontSize="16"
							            Foreground="#FF707070" VerticalAlignment="Center"/>
                            <StackPanel Margin="70,0,0,0" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
                                <ProgressBar  Margin="-15,0,0,0"  x:Name="progBar51" Width="150" Value="0" Minimum="0"  Background="#bacee8" Foreground="#80c269" Style="{StaticResource ProgressBarStyle2}" Tag="t1_value"/>
                                <TextBlock  x:Name="TextprogBar51"  TextWrapping="Wrap" FontSize="16"
							            Foreground="#FF707070" Margin="-150,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Tag="t1"/>
                            </StackPanel>
                            <StackPanel Margin="25,0,0,0" Orientation="Horizontal" Tag="t1">
                                <ProgressBar   Margin="-5,0,0,0" x:Name="progBar52" Width="150" Value="0" Minimum="0" Background="#bacee8" Foreground="#80c269" VerticalAlignment="Center" Style="{StaticResource ProgressBarStyle2}" Tag="t2_value"/>
                                <TextBlock  x:Name="TextprogBar52"  TextWrapping="Wrap" FontSize="16"
							            Foreground="#FF707070" Margin="-150,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Tag="t2"/>
                            </StackPanel>
                        </StackPanel>
                        <StackPanel  Orientation="Horizontal">
                            <TextBlock Margin="15,0,0,0" TextWrapping="Wrap" Text="其他" FontSize="16"
							            Foreground="#FF707070" VerticalAlignment="Center"/>
                            <StackPanel Margin="70,0,0,0" Orientation="Horizontal">
                                <ProgressBar  Margin="-15,0,0,0" x:Name="progBar61" Width="150" FontSize="16"
							            Foreground="#80c269"  Background="#bacee8" Style="{StaticResource ProgressBarStyle2}" Tag="t1_value"/>
                                <TextBlock  x:Name="TextprogBar61"  TextWrapping="Wrap" FontSize="16" Foreground="#FF707070" Margin="-150,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Tag="t1"/>
                            </StackPanel>
                            <StackPanel Margin="25,0,0,0" Orientation="Horizontal">
                                <ProgressBar  Margin="-5,0,0,0" x:Name="progBar62" Width="150"  Background="#bacee8" Foreground="#80c269" VerticalAlignment="Center" Style="{StaticResource ProgressBarStyle2}" Tag="t2_value"/>
                                <TextBlock  x:Name="TextprogBar62"  TextWrapping="Wrap" FontSize="16"
							            Foreground="#FF707070" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="-150,0,0,0" Tag="t2"/>
                            </StackPanel>
                        </StackPanel>
                    </StackPanel>
                    <StackPanel x:Name="listType1">
                        <ListBox Margin="10,0,0,10" ItemsSource="{Binding TypeParameterItems}" Style="{StaticResource ListBoxStyle1}" >
                            <ListBox.ItemTemplate>
                                <DataTemplate>
                                    <delay:FoodTemplateSelector x:Name="foodTemplateSelector" Content="{Binding}" RenderTransformOrigin="0.5,0.5">
                                        <delay:FoodTemplateSelector.RenderTransform>
                                            <CompositeTransform/>
                                        </delay:FoodTemplateSelector.RenderTransform>
                                        <delay:FoodTemplateSelector.Head>
                                            <DataTemplate >
                                                <Grid >
                                                    <TextBlock Text="{Binding Title}" TextWrapping="Wrap"  Margin="14,10,0,0" FontSize="24"  Height="35" 
													Foreground="#FF0069AC" VerticalAlignment="Bottom" Width="480"/>
                                                </Grid>
                                            </DataTemplate>
                                        </delay:FoodTemplateSelector.Head>
                                        <delay:FoodTemplateSelector.Main>
                                            <DataTemplate>
                                                <StackPanel Margin="0,5,15,5" Orientation="Horizontal">
                                                    <TextBlock Text="{Binding Title}"  Margin="20,5,5,5" FontSize="16" Foreground="#707070" Width="84"/>
                                                    <TextBlock Text="{Binding Content}" Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"
													 TextWrapping="Wrap" Margin="5,5,0,5" FontSize="18" Width="180"/>
                                                    <TextBlock Text="{Binding Content_2}" Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"
													TextWrapping="Wrap" Margin="5"  FontSize="18" Width="180"/>
                                                </StackPanel>
                                            </DataTemplate>
                                        </delay:FoodTemplateSelector.Main>
                                    </delay:FoodTemplateSelector>
                                </DataTemplate>
                            </ListBox.ItemTemplate>
                        </ListBox>
                    </StackPanel>
                </StackPanel>
            </ScrollViewer>
            <Canvas x:Name="canvas1" Height="346" VerticalAlignment="Top" Margin="84,-362,209,0" Background="#DC001E68" RenderTransformOrigin="0.5,0.5" >
            	<Canvas.RenderTransform>
            		<CompositeTransform/>
            	</Canvas.RenderTransform>
            	<Canvas x:Name="canvas" VerticalAlignment="Top"  Height="142" Width="89">
            		<Button Content="同价位" Style="{StaticResource ButtonStyle4}" 
                            Canvas.Top="2" Click="BtnPK_Jia" FontSize="40" Width="177"/>
                    <Button Content="同品牌" Style="{StaticResource ButtonStyle4}" Canvas.Top="70" Click="BtnPK_Pin" FontSize="40" Width="177"/>
                    <Button Content="同分辨率" Style="{StaticResource ButtonStyle4}" Canvas.Top="144" Click="BtnPK_Fen" FontSize="40" Width="177"/>
                    <Button Content="同系统" Style="{StaticResource ButtonStyle4}" Canvas.Top="213" Click="BtnPK_Xi" FontSize="40" Width="177"/>
                    <Button Content="其他品牌" Style="{StaticResource ButtonStyle4}" Canvas.Top="280" Click="BtnPK_Qita" FontSize="40" Width="177"/>
				</Canvas>
            </Canvas>
            <Canvas x:Name="canvas2" Height="346" VerticalAlignment="Top" Margin="0,-362,25,0" Background="#F0001E68" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Right" Width="177" >
            	<Canvas.RenderTransform>
            		<CompositeTransform/>
            	</Canvas.RenderTransform>
            	<Canvas x:Name="canvas22" VerticalAlignment="Top"  Height="142" Width="89">
            		<Button Content="同价位" Style="{StaticResource ButtonStyle4}" Canvas.Top="2" Click="BtnPK_Jia2" FontSize="40" Width="178"/>
            		<Button Content="同品牌" Style="{StaticResource ButtonStyle4}" Canvas.Top="70" Click="BtnPK_Pin2" FontSize="40" Width="178"/>
                    <Button Content="同分辨率" Style="{StaticResource ButtonStyle4}" Canvas.Top="144" Click="BtnPK_Fen2" FontSize="40" Width="178"/>
                    <Button Content="同系统" Style="{StaticResource ButtonStyle4}" Canvas.Top="213" Click="BtnPK_Xi2" FontSize="40" Width="178"/>
                    <Button Content="其他品牌" Style="{StaticResource ButtonStyle4}" Canvas.Top="280" Click="BtnPK_Qita2" FontSize="40" Width="178"/>
            	</Canvas>
            </Canvas>
        </Grid>
        <Grid Background="Transparent" x:Name="price" Grid.Row="1"  Margin="5" Visibility="Collapsed">
            <controls:Pivot ManipulationCompleted="KLPivotItem_ManipulationCompleted"
                            ManipulationDelta="KLPivotItem_ManipulationDelta" ManipulationStarted="KLPivotItem_ManipulationStarted"
                            x:Name="PricePivot" SelectionChanged="Pivot_SelectionChanged"  Loaded="PivotItem_Loaded">
                <controls:PivotItem  x:Name="TypePriceList1">
                    <controls:PivotItem.Header>
                        <StackPanel Margin="0,0,0,0">
                            <StackPanel Orientation="Horizontal">
                                <TextBlock x:Name="textType1" TextWrapping="Wrap" Text="手机型号" Width="105" 
								Margin="0" FontSize="24"  
							                 VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="#0069ac" />
                                <TextBlock  x:Name="textTypeName1" Margin="20,0,0,0" Width="105" HorizontalAlignment="Center"
								TextWrapping="Wrap" FontSize="18"  VerticalAlignment="Top" Tag="tb1"
                                             Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"
								TextAlignment="Center" />
								<Button x:Name="nameBtn1_1" Content="Button" Height="32" Tag="/Icon/info/del.png"
                                        Margin="2,0,0,0" Click="Button_Click"
                                    Style="{StaticResource ButtonStyle2}" Width="32" />
                            </StackPanel>
                            <StackPanel  Orientation="Horizontal">
                                <TextBlock x:Name="textWatch1"  Text="外形图片" Width="105"  FontSize="24"  
								               VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="#0069ac"/>
                                <Grid Margin="5,0,0,0" Width="130"  Height="110">
                                    <Image x:Name="ImageTypeName1" Tag="ti1"  HorizontalAlignment="Center"  VerticalAlignment="Center" 
								Width="66" Height="110" Stretch="Fill"/>
                                </Grid>
                            </StackPanel>
                        </StackPanel>
                    </controls:PivotItem.Header>
                    <Grid>
                        <ListBox ItemsSource="{Binding TypePriceItems}" Loaded="FirstListBox_Loaded">
                            <ListBox.ItemTemplate>
                                <DataTemplate>
                                     <StackPanel Orientation="Horizontal" Margin="5,5,0,5">
                                        <StackPanel Orientation="Vertical" Width="366">
                                            <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                                                <TextBlock Text="{Binding Title}"  Margin="5" Foreground="#FF7D7D7D" FontSize="17" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                                <TextBlock Text="{Binding Content}" HorizontalAlignment="Center" Margin="5" 
												TextWrapping="Wrap" Foreground="#FF002e73" FontSize="20" VerticalAlignment="Center" Width="310"/>
                                            </StackPanel>
                                            <StackPanel Orientation="Horizontal">
                                                <Image Source="/Icon/info/tel_icon.png" Margin="5,5,5,6" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                                <TextBlock Text="{Binding Keywords}" Margin="5" TextWrapping="Wrap" FontSize="18" Foreground="#FF434343" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                            </StackPanel>
                                        </StackPanel>
                                         <TextBlock VerticalAlignment="Center" 
										HorizontalAlignment="Center" FontSize="24" Text="{Binding Writetime}"
										 Foreground="#FFE60012" Margin="0,0,0,0" />
                                    </StackPanel>
                                </DataTemplate>
                            </ListBox.ItemTemplate>
                        </ListBox>
                        <TextBlock x:Name="priceTextPivot1" Margin="100" Text="没有找到报价的信息" FontSize="20"
						           Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}" Visibility="Collapsed"
								   />
                    </Grid>
                </controls:PivotItem>
                <controls:PivotItem x:Name="TypePriceList2">
                    <controls:PivotItem.Header>
                        <StackPanel>
                            <StackPanel Orientation="Horizontal" Margin="0,0,0,0">
                                <TextBlock  x:Name="textType2"  Text="手机型号:" Visibility="Collapsed" Width="105" 
                                            VerticalAlignment="Center" HorizontalAlignment="Center"
									        FontSize="24" Foreground="#0069ac" />

                                <TextBlock  x:Name="textTypeName2"   Margin="20,0,0,0" Width="105" HorizontalAlignment="Center"
								TextWrapping="Wrap" FontSize="18"  VerticalAlignment="Top" Tag="tb2"
                                             Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"
								TextAlignment="Center" />
                           		<Button x:Name="nameBtn1_2" Content="Button" Height="32" Tag="/Icon/info/del.png" 
                                        Margin="2,0,0,0" Click="Button_Click_2"
                                    Style="{StaticResource ButtonStyle2}" Width="32"/>
						    </StackPanel>

                            <StackPanel  Orientation="Horizontal"  Margin="0,0,0,0">
                                <TextBlock x:Name="textWatch2"  Text="外形图片" Width="105" Visibility="Collapsed" 
                                           VerticalAlignment="Center" HorizontalAlignment="Center"
									FontSize="24" Foreground="#0069ac"/>
                                <Grid  Margin="5,0,0,0" Width="130" Height="110">
                                    <Image x:Name="ImageTypeName2" Tag="ti2" HorizontalAlignment="Center"  VerticalAlignment="Center" 
								Width="66" Height="110" Stretch="Fill"/>
                                </Grid>
                            </StackPanel>
                        </StackPanel>
                    </controls:PivotItem.Header>
                    <Grid>
                        <ListBox ItemsSource="{Binding TypePriceItems}"  Loaded="FirstListBox_Loaded">
                            <ListBox.ItemTemplate>
                                <DataTemplate>
                                    <StackPanel Orientation="Horizontal" Margin="5,5,0,5">
                                        <StackPanel Orientation="Vertical" Width="366">
                                            <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                                                <TextBlock Text="{Binding Title}"  Margin="5" Foreground="#FF7D7D7D" FontSize="17" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                                <TextBlock Text="{Binding Content}" HorizontalAlignment="Center" Margin="5" 
												TextWrapping="Wrap" Foreground="#FF002e73" FontSize="20" VerticalAlignment="Center" Width="310"/>
                                            </StackPanel>
                                            <StackPanel Orientation="Horizontal">
                                                <Image Source="/Icon/info/tel_icon.png" Margin="5,5,5,6" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                                <TextBlock Text="{Binding Keywords}" Margin="5" TextWrapping="Wrap" FontSize="18" Foreground="#FF434343" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                            </StackPanel>
                                        </StackPanel>
                                         <TextBlock VerticalAlignment="Center" 
										HorizontalAlignment="Center" FontSize="24" Text="{Binding Writetime}"
										 Foreground="#FFE60012" Margin="0,0,0,0" />
                                    </StackPanel>
                                </DataTemplate>
                            </ListBox.ItemTemplate>
                        </ListBox>
                        <TextBlock x:Name="priceTextPivot2" Margin="100" Text="没有找到报价的信息" FontSize="20"
						           Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"
                                   Visibility="Collapsed"
								   />

                    </Grid>
                </controls:PivotItem>
            </controls:Pivot>
        </Grid>
        <Grid Background="Transparent" x:Name="commet" Grid.Row="1" Margin="5,5,0,5" Visibility="Collapsed">
            <controls:Pivot  x:Name="commentPivot" 
                             ManipulationCompleted="KLPivotItem_ManipulationCompleted"
                            ManipulationDelta="KLPivotItem_ManipulationDelta" ManipulationStarted="KLPivotItem_ManipulationStarted"
                             SelectionChanged="Comment_Pivot_SelectionChanged"  Loaded="Comment_Pivot_Loaded" >
                <controls:PivotItem  x:Name="commetPivotItem_1" Margin="12,28,0,0">
                    <controls:PivotItem.Header>
                        <StackPanel>
                            <StackPanel Orientation="Horizontal">
                                <TextBlock x:Name="textComment1"  Text="手机型号" Width="105"  FontSize="24" Foreground="#0069ac"
									            VerticalAlignment="Center" HorizontalAlignment="Center" />
                                <TextBlock   x:Name="textCommentName1"    Margin="20,0,0,0" Width="105" HorizontalAlignment="Center"
								TextWrapping="Wrap" FontSize="18"  VerticalAlignment="Top" Tag="tb1"
                                 TextAlignment="Center" Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"/>
                            	<Button x:Name="nameBtn2_1" Content="Button" Height="32" Tag="/Icon/info/del.png" 
								Margin="2,0,0,0" Click="Button_Click"
                                    Style="{StaticResource ButtonStyle2}" Width="32"/>
							</StackPanel>
                            <StackPanel  Orientation="Horizontal">
                                <TextBlock x:Name="textCommentWatch1"  Text="外形图片" Width="105"  FontSize="24" Foreground="#0069ac"  VerticalAlignment="Center" HorizontalAlignment="Center"/>
                                <Grid  Margin="5,0,0,0" Width="130"  Height="110" >
                                    <Image x:Name="ImageCommentName1" Tag="ti1" HorizontalAlignment="Center"  VerticalAlignment="Center" 
								Width="66" Height="110" Stretch="Fill"/>
                                </Grid>
                            </StackPanel>
                        </StackPanel>
                    </controls:PivotItem.Header>
                    <ScrollViewer  Loaded="FirstListBox_Loaded" Margin="0">
                        <StackPanel Orientation="Vertical">
                            <StackPanel Orientation="Horizontal" Height="193">
                                <StackPanel Margin="4,4,-4,4" Width="186">
                                    <StackPanel Orientation="Horizontal" Background="#d4dae3">
                                        <TextBlock HorizontalAlignment="Center" Foreground="#626262"  FontSize="18"  Text="平均得分" VerticalAlignment="Center" Margin="40,5,0,5"/>
                                    </StackPanel>
                                    <StackPanel Background="#ffffff">
                                        <TextBlock HorizontalAlignment="Center" FontSize="44" Height="50"  x:Name="scoreText" TextWrapping="Wrap" Margin="5,5,0,5" VerticalAlignment="Center" Foreground="#b94901"/>
                                        <local:StarMark x:Name="ScoreStart" Width="174" MarkedFill="Orange" UnMarkedFill="Gray" MaxStars="5" IsEnabled="False" Margin="0,0,0,10" HorizontalAlignment="Center"/>
                                    </StackPanel>
                                    <Button VerticalAlignment="Top" Height="47"  Click="Into_Full_Click" Background="#599df1" BorderThickness="0" Style="{StaticResource ButtonStyle3}">
                                        <StackPanel Orientation="Horizontal">
                                            <Image Stretch="None" Source="/Icon/selectCenter/pen.png" />
                                            <TextBlock Text="写点评"  Foreground="White" FontSize="18" Margin="10,0,0,0"/>
                                        </StackPanel>
                                    </Button>

                                </StackPanel>
                                <StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20,0,0,0" Width="265" Height="193">
                                    <StackPanel Orientation="Horizontal" Margin="0,10,0,5" HorizontalAlignment="Center" VerticalAlignment="Center">
                                        <TextBlock Text="1星" FontSize="20" Foreground="#FF626262" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                        <ProgressBar  x:Name="sc1" Height="28" Width="180"  Minimum="1"
										 Maximum="100" Margin="0" Value="20" FontSize="21.333" Background="#dde6f2" Foreground="#65c6e3"  HorizontalAlignment="Center" VerticalAlignment="Center" Style="{StaticResource ProgressBarStyle1}"/>
                                        <TextBlock Margin="5,0,0,0" x:Name="Textsc1" TextWrapping="Wrap" Text="0人" FontSize="18.667" Foreground="#FF626262" HorizontalAlignment="Center" VerticalAlignment="Top" Width="50" Height="24.8299999237061"/>
                                    </StackPanel>
                                    <StackPanel Orientation="Horizontal" Margin="0,5" HorizontalAlignment="Center" VerticalAlignment="Center">
                                        <TextBlock Text="2星" FontSize="20" Foreground="#FF626262" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                        <ProgressBar  x:Name="sc2" Height="26" Width="180"   Minimum="1" Maximum="100" Margin="0" Value="30"
										 Background="#dde6f2" Foreground="#65c6e3"  HorizontalAlignment="Center" VerticalAlignment="Center" Style="{StaticResource ProgressBarStyle1}"/>
                                        <TextBlock Margin="0" x:Name="Textsc2" TextWrapping="Wrap" Text="0人" FontSize="18.667" Foreground="#FF626262" Width="50"/>
                                    </StackPanel>
                                    <StackPanel Orientation="Horizontal" Margin="0,5" HorizontalAlignment="Center">
                                        <TextBlock Text="3星"  FontSize="20"  Foreground="#FF626262"/>
                                        <ProgressBar  x:Name="sc3" Height="30" Width="180"  Minimum="0"  
										Maximum="100" Margin="0" Value="40" Background="#dde6f2" Foreground="#65c6e3"  HorizontalAlignment="Center" VerticalAlignment="Center" Style="{StaticResource ProgressBarStyle1}"/>
                                        <TextBlock Margin="0" x:Name="Textsc3" TextWrapping="Wrap" Text="0人" FontSize="18.667" Foreground="#FF626262" Width="50"/>
                                    </StackPanel>
                                    <StackPanel Orientation="Horizontal" Margin="0,5" VerticalAlignment="Center" HorizontalAlignment="Center">
                                        <TextBlock Text="4星" Foreground="#FF626262" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                        <ProgressBar  x:Name="sc4" Height="31" Width="180" 
										 Minimum="0" Maximum="100" Margin="0" Value="50" Background="#dde6f2" Foreground="#65c6e3"  HorizontalAlignment="Center" VerticalAlignment="Center" Style="{StaticResource ProgressBarStyle1}"/>
                                        <TextBlock Margin="0" x:Name="Textsc4" TextWrapping="Wrap" Text="0人" FontSize="18.667" Foreground="#FF626262" HorizontalAlignment="Center" VerticalAlignment="Center" Width="50"/>
                                    </StackPanel>
                                    <StackPanel Orientation="Horizontal"  Margin="0,5,0,10" HorizontalAlignment="Center" VerticalAlignment="Center">
                                        <TextBlock Text="5星" FontSize="20" Foreground="#FF626262" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                        <ProgressBar  x:Name="sc5" Height="27" Width="180"   Minimum="0" Maximum="100" 
										 Margin="0" Value="10" Background="#dde6f2"  Foreground="#65c6e3" HorizontalAlignment="Center" VerticalAlignment="Center" Style="{StaticResource ProgressBarStyle1}"/>
                                        <TextBlock Margin="0" x:Name="Textsc5" TextWrapping="Wrap" Text="0人" FontSize="18.667" Foreground="#FF626262" HorizontalAlignment="Center" VerticalAlignment="Center" Width="50"/>
                                    </StackPanel>
                                </StackPanel>
                            </StackPanel>
                            <ListBox Margin="0,5,0,0"  ItemsSource="{Binding TypeCommentItems}" Style="{StaticResource ListBoxStyle1}">
                                <ListBox.ItemTemplate>
                                    <DataTemplate>
                                        <delay:FoodTemplateSelector x:Name="foodTemplateSelector" Content="{Binding}" RenderTransformOrigin="0.5,0.5">
                                            <delay:FoodTemplateSelector.RenderTransform>
                                                <CompositeTransform/>
                                            </delay:FoodTemplateSelector.RenderTransform>
                                            <delay:FoodTemplateSelector.Head>
                                                <DataTemplate >
                                                    <StackPanel Width="480">
                                                        <StackPanel Orientation="Horizontal" Width="480" >
                                                            <StackPanel Width="420" Orientation="Horizontal">
                                                                <TextBlock TextWrapping="Wrap" Text="{Binding Nick}" Margin="5,0,0,0" FontSize="22" Foreground="#0069ac" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                                                <TextBlock TextWrapping="Wrap"  Text="{Binding Score}" Margin="10,0,0,0" Foreground="#b94901" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                                            </StackPanel>
                                                            <TextBlock TextWrapping="Wrap" Text="{Binding Floor}"  HorizontalAlignment="Center" FontSize="16" Foreground="#a0a0a0" VerticalAlignment="Center"/>
                                                        </StackPanel>
                                                        <StackPanel Orientation="Horizontal" Margin="5">
                                                            <StackPanel   Background="#8dbdf6" Height="25" Width="50">

                                                                <TextBlock Text="优点"  FontSize="16" HorizontalAlignment="Center" Foreground="White"
																VerticalAlignment="Center" />
                                                                <!--Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"-->
                                                            </StackPanel>
                                                            <TextBlock Text="{Binding Advant}" TextWrapping="Wrap" Width="410" FontSize="20" Margin="10,0,0,0" 
                                                    			  Foreground="#bfbfbf"/>
                                                        </StackPanel>
                                                        <StackPanel Orientation="Horizontal" Margin="5" >
                                                            <StackPanel Background="#8dbdf6"  Height="25" Width="50">
                                                                <TextBlock Text="缺点"   FontSize="16"  Foreground="White"
															       HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0"/>
                                                            </StackPanel>
                                                            <TextBlock TextWrapping="Wrap" Text="{Binding Defect}" Width="420"  Margin="10,0,0,0" FontSize="20"
                                                                       Foreground="#bfbfbf"
                                                    			/>
                                                        </StackPanel>
                                                    </StackPanel>
                                                </DataTemplate>
                                            </delay:FoodTemplateSelector.Head>
                                            <delay:FoodTemplateSelector.Tail>
                                                <DataTemplate>
                                                    <StackPanel Orientation="Horizontal" Background="Gray" Width="400" Margin="10">
                                                        <TextBlock Text="{Binding Addtime}" TextWrapping="Wrap" Style="{StaticResource PhoneTextExtraLargeStyle}" Margin="0" FontSize="26.667"/>
                                                    </StackPanel>
                                                </DataTemplate>
                                            </delay:FoodTemplateSelector.Tail>
                                        </delay:FoodTemplateSelector>
                                    </DataTemplate>
                                </ListBox.ItemTemplate>
                            </ListBox>
                            <TextBlock TextWrapping="Wrap" x:Name="CommentResult2" Text="没有点评，欢迎您点评！" Margin="0,70,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Collapsed" />

                        </StackPanel>
                    </ScrollViewer>
                </controls:PivotItem>
                <controls:PivotItem x:Name="commetPivotItem_2">
                    <controls:PivotItem.Header>
                        <StackPanel>
                            <StackPanel Orientation="Horizontal">
                                <TextBlock x:Name="textComment2"  Text="手机型号" Width="105"  VerticalAlignment="Center" HorizontalAlignment="Center" 
                                           FontSize="24" Foreground="#0069ac"/>
                                <TextBlock  x:Name="textCommentName2"  Margin="20,0,0,0" Width="105" HorizontalAlignment="Center"
								TextAlignment="Center" TextWrapping="Wrap" FontSize="18"  VerticalAlignment="Top" Tag="tb2"
                                             Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"/>
                            	<Button x:Name="nameBtn2_2" Content="Button" Height="32" Tag="/Icon/info/del.png" 
								Margin="2,0,0,0" Click="Button_Click_2"
                                    Style="{StaticResource ButtonStyle2}" Width="32"/>
                            </StackPanel>
                            <StackPanel  Orientation="Horizontal">
                                <TextBlock x:Name="textCommentWatch2"  Visibility="Collapsed" 
                                           VerticalAlignment="Center" HorizontalAlignment="Center" Text="外形图片" Width="105" Height="40" FontSize="24" Foreground="#0069ac"/>
                                <Grid Margin="5,0,0,0" Width="130"  Height="110" >
                                    <Image x:Name="ImageCommentName2" Tag="ti2"  HorizontalAlignment="Center"  VerticalAlignment="Center" 
								Width="66" Height="110" Stretch="Fill"/>
                                </Grid>
                            </StackPanel>
                        </StackPanel>
                    </controls:PivotItem.Header>
                    <ScrollViewer  Loaded="FirstListBox_Loaded">
                        <StackPanel Orientation="Vertical">
                            <StackPanel Orientation="Horizontal" Height="193">
                                <StackPanel Margin="4,4,-4,4" Width="186">
									<StackPanel Orientation="Horizontal" Background="#d4dae3">
                                        <TextBlock HorizontalAlignment="Center" Foreground="#626262"  FontSize="18"  Text="平均得分" VerticalAlignment="Center" Margin="40,5,0,5"/>
                                    </StackPanel>
                                    <StackPanel Background="#ffffff">
                                        <TextBlock HorizontalAlignment="Center" FontSize="44" Height="50"  x:Name="scoreText_2" TextWrapping="Wrap" Margin="5,5,0,5" VerticalAlignment="Center" Foreground="#b94901"/>
                                        <local:StarMark x:Name="ScoreStart_2" Width="174" MarkedFill="Orange" UnMarkedFill="Gray" MaxStars="5" IsEnabled="False" Margin="0,0,0,10" HorizontalAlignment="Center"/>
                                    </StackPanel>
                                    <Button VerticalAlignment="Top" Height="47"  Click="Into_Full_Click" Background="#599df1" BorderThickness="0" Style="{StaticResource ButtonStyle3}">
                                        <StackPanel Orientation="Horizontal">
                                            <Image Stretch="None" Source="/Icon/selectCenter/pen.png" />
                                            <TextBlock Text="写点评"  Foreground="White" FontSize="18" Margin="10,0,0,0"/>
                                        </StackPanel>
                                    </Button>

                                </StackPanel>
                                <StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20,0,0,0" Width="265" Height="193">
                                    <StackPanel Orientation="Horizontal" Margin="0,10,0,5" HorizontalAlignment="Center" VerticalAlignment="Center">
                                        <TextBlock Text="1星" FontSize="20" Foreground="#626262" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                        <ProgressBar  x:Name="sc1_2" Height="28" Width="180"  Minimum="1"
										 Maximum="100" Margin="0" Value="20" FontSize="21.333" Background="#dde6f2" Foreground="#65c6e3"  HorizontalAlignment="Center" VerticalAlignment="Center" Style="{StaticResource ProgressBarStyle1}"/>
                                        <TextBlock Margin="5,0,0,0" x:Name="Textsc1_2" TextWrapping="Wrap" Text="0人" FontSize="18.667" Foreground="#FF626262" HorizontalAlignment="Center" VerticalAlignment="Top" Width="50" Height="24.8299999237061"/>
                                    </StackPanel>
                                    <StackPanel Orientation="Horizontal" Margin="0,5" HorizontalAlignment="Center" VerticalAlignment="Center">
                                        <TextBlock Text="2星" FontSize="20" Foreground="#626262" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                        <ProgressBar  x:Name="sc2_2" Height="26" Width="180"   Minimum="1" Maximum="100" Margin="0" Value="30"
										 Background="#dde6f2" Foreground="#65c6e3"  HorizontalAlignment="Center" VerticalAlignment="Center" Style="{StaticResource ProgressBarStyle1}"/>
                                        <TextBlock Margin="0" x:Name="Textsc2_2" TextWrapping="Wrap" Text="0人" FontSize="18.667" Foreground="#FF626262" Width="50"/>
                                    </StackPanel>
                                    <StackPanel Orientation="Horizontal" Margin="0,5" HorizontalAlignment="Center">
                                        <TextBlock Text="3星"  FontSize="20"  Foreground="#626262"/>
                                        <ProgressBar  x:Name="sc3_2" Height="30" Width="180"  Minimum="0"  
										Maximum="100" Margin="0" Value="40" Background="#dde6f2" Foreground="#65c6e3"  HorizontalAlignment="Center" VerticalAlignment="Center" Style="{StaticResource ProgressBarStyle1}"/>
                                        <TextBlock Margin="0" x:Name="Textsc3_2" TextWrapping="Wrap" Text="0人" FontSize="18.667" Foreground="#FF626262" Width="50"/>
                                    </StackPanel>
                                    <StackPanel Orientation="Horizontal" Margin="0,5" VerticalAlignment="Center" HorizontalAlignment="Center">
                                        <TextBlock Text="4星" Foreground="#FF69909B" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                        <ProgressBar  x:Name="sc4_2" Height="31" Width="180" 
										 Minimum="0" Maximum="100" Margin="0" Value="50" Background="#dde6f2" Foreground="#65c6e3"  HorizontalAlignment="Center" VerticalAlignment="Center" Style="{StaticResource ProgressBarStyle1}"/>
                                        <TextBlock Margin="0" x:Name="Textsc4_2" TextWrapping="Wrap" Text="0人" FontSize="18.667" Foreground="#FF626262" HorizontalAlignment="Center" VerticalAlignment="Center" Width="50"/>
                                    </StackPanel>
                                    <StackPanel Orientation="Horizontal"  Margin="0,5,0,10" HorizontalAlignment="Center" VerticalAlignment="Center">
                                        <TextBlock Text="5星" FontSize="20" Foreground="#626262" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                        <ProgressBar  x:Name="sc5_2" Height="27" Width="180"   Minimum="0" Maximum="100" 
										 Margin="0" Value="10" Background="#dde6f2"  Foreground="#65c6e3" HorizontalAlignment="Center" VerticalAlignment="Center" Style="{StaticResource ProgressBarStyle1}"/>
                                        <TextBlock Margin="0" x:Name="Textsc5_2" TextWrapping="Wrap" Text="0人" FontSize="18.667" Foreground="#FF626262" HorizontalAlignment="Center" VerticalAlignment="Center" Width="50"/>
                                    </StackPanel>
                                </StackPanel>
                            </StackPanel>
                            <TextBlock TextWrapping="Wrap" x:Name="CommentResult1" TextAlignment="Center" Text="没有相关的点评，欢迎您点评" Margin="0,70,0,0" Visibility="Collapsed"/>
                            <ListBox Margin="0,5,0,0"  ItemsSource="{Binding TypeCommentItems}" Style="{StaticResource ListBoxStyle1}">
                                <ListBox.ItemTemplate>
                                    <DataTemplate>
                                        <delay:FoodTemplateSelector x:Name="foodTemplateSelector" Content="{Binding}" RenderTransformOrigin="0.5,0.5">
                                            <delay:FoodTemplateSelector.RenderTransform>
                                                <CompositeTransform/>
                                            </delay:FoodTemplateSelector.RenderTransform>
                                            <delay:FoodTemplateSelector.Head>
                                                <DataTemplate >
                                                    <StackPanel Width="480">
                                                       <StackPanel Orientation="Horizontal" Width="480" >
                                                            <StackPanel Width="420" Orientation="Horizontal">
                                                                <TextBlock TextWrapping="Wrap" Text="{Binding Nick}" Margin="5,0,0,0" FontSize="22" Foreground="#0069ac" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                                                <TextBlock TextWrapping="Wrap"  Text="{Binding Score}" Margin="10,0,0,0" Foreground="#b94901" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                                            </StackPanel>
                                                            <TextBlock TextWrapping="Wrap" Text="{Binding Floor}"  HorizontalAlignment="Center" FontSize="16" Foreground="#a0a0a0" VerticalAlignment="Center"/>
                                                        </StackPanel>
                                                        <StackPanel Orientation="Horizontal" Margin="5">
                                                            <StackPanel   Background="#8dbdf6" Height="25" Width="50">

                                                                <TextBlock Text="优点"  FontSize="16" HorizontalAlignment="Center" Foreground="White"
																VerticalAlignment="Center" />
                                                                <!--Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"-->
                                                            </StackPanel>
                                                            <TextBlock Text="{Binding Advant}" TextWrapping="Wrap" Width="410" FontSize="20" Margin="10,0,0,0" 
                                                    			  Foreground="#bfbfbf"/>
                                                        </StackPanel>
                                                        <StackPanel Orientation="Horizontal" Margin="5" >
                                                            <StackPanel Background="#8dbdf6"  Height="25" Width="50">
                                                                <TextBlock Text="缺点"   FontSize="16"  Foreground="White"
															       HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0"/>
                                                            </StackPanel>
                                                            <TextBlock TextWrapping="Wrap" Text="{Binding Defect}" Width="420"  Margin="10,0,0,0" FontSize="20"
                                                                       Foreground="#bfbfbf"
                                                    			/>
                                                        </StackPanel>
                                                    </StackPanel>
                                                </DataTemplate>
                                            </delay:FoodTemplateSelector.Head>
                                            <delay:FoodTemplateSelector.Tail>
                                                <DataTemplate>
                                                    <StackPanel Orientation="Horizontal" Background="Gray" Width="400" Margin="10">
                                                        <TextBlock Text="{Binding Addtime}" TextWrapping="Wrap" Style="{StaticResource PhoneTextExtraLargeStyle}" Margin="0" FontSize="26.667"/>
                                                    </StackPanel>
                                                </DataTemplate>
                                            </delay:FoodTemplateSelector.Tail>
                                        </delay:FoodTemplateSelector>
                                    </DataTemplate>
                                </ListBox.ItemTemplate>
                            </ListBox>

                        </StackPanel>
                    </ScrollViewer>
                </controls:PivotItem>
            </controls:Pivot>
        </Grid>
        <Grid Background="Transparent" x:Name="picture" Grid.Row="1" Margin="5" Visibility="Collapsed">
            <controls:Pivot  x:Name="picturePivot" 
                             ManipulationCompleted="KLPivotItem_ManipulationCompleted"
                            ManipulationDelta="KLPivotItem_ManipulationDelta" ManipulationStarted="KLPivotItem_ManipulationStarted"
                             SelectionChanged="Pictrue_Pivot_SelectionChanged" Loaded="Pictrue_Pivot_Loaded" >
                <controls:PivotItem x:Name="PictruePivotItem1">
                    <controls:PivotItem.Header>
                        <StackPanel>
                            <StackPanel Orientation="Horizontal">
                                <TextBlock x:Name="textPicture1"  Text="手机型号" Width="105"   FontSize="24" Foreground="#0069ac"  
                                           VerticalAlignment="Center" HorizontalAlignment="Center"/>
                                <TextBlock  x:Name="textPictureName1"  Margin="20,0,0,0" Width="105" HorizontalAlignment="Center"
								TextWrapping="Wrap" FontSize="18"  VerticalAlignment="Top" Tag="tb1"
                                          TextAlignment="Center"   Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"/>
                            	<Button x:Name="nameBtn3_1" Content="Button" Height="32" Tag="/Icon/info/del.png" 
								Margin="2,0,0,0" Click="Button_Click"
                                    Style="{StaticResource ButtonStyle2}" Width="32"/>
                            </StackPanel>
                            <StackPanel  Orientation="Horizontal">
                                <TextBlock x:Name="textPictureWatch1"   VerticalAlignment="Center" HorizontalAlignment="Center" Text="外形图片" Width="105" FontSize="24" Foreground="#0069ac"/>
                                <Grid Margin="5,0,0,0" Width="130"  Height="110" >
                                    <Image x:Name="ImagePictureName1"  Tag="ti1"  HorizontalAlignment="Center"  VerticalAlignment="Center" 
								Width="66" Height="110" Stretch="Fill"/>
                                </Grid>
                            </StackPanel>
                        </StackPanel>
                    </controls:PivotItem.Header>
                    <Grid>
                        <ListBox ItemsSource="{Binding TypePictureItems}" Tap="ListBoxImage_Tap">
                            <ListBox.ItemsPanel>
                                <ItemsPanelTemplate>
                                    <toolkit:WrapPanel Orientation="Horizontal"  VerticalAlignment="Top" Margin="0"/>
                                </ItemsPanelTemplate>
                            </ListBox.ItemsPanel>
                            <ListBox.ItemTemplate>
                                <DataTemplate>
                                    <Grid  Margin="10" Width="120" Height="120" >
                                        <Image  delay:LowProfileImageLoader.UriSource="{Binding Prevurl, Converter={StaticResource FixUrl}}" 
                                                Stretch="UniformToFill" VerticalAlignment="Center" HorizontalAlignment="Left"/>
                                    </Grid>
                                </DataTemplate>
                            </ListBox.ItemTemplate>
                        </ListBox>
                        <TextBlock x:Name="pictureTextPivot1" Margin="100" Text="没有找到报价的信息" FontSize="20"
						           Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}" Visibility="Collapsed"
								   />
                    </Grid>
                </controls:PivotItem>
                <controls:PivotItem x:Name="PictruePivotItem2">
                    <controls:PivotItem.Header>
                        <StackPanel>
                            <StackPanel Orientation="Horizontal">
                                <TextBlock x:Name="textPicture2"  Text="手机型号" Width="105"   FontSize="24" Foreground="#0069ac" 
                                            VerticalAlignment="Center" HorizontalAlignment="Center"/>
                                <TextBlock  x:Name="textPictureName2"  Margin="20,0,0,0" Width="105" HorizontalAlignment="Center"
								TextAlignment="Center" TextWrapping="Wrap" FontSize="18"  VerticalAlignment="Top" Tag="tb2"
                                             Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"/>
                            	<Button x:Name="nameBtn3_2" Content="Button" Height="32" Tag="/Icon/info/del.png" 
								Margin="2,0,0,0" Click="Button_Click_2"
                                    Style="{StaticResource ButtonStyle2}" Width="32"/>
                            </StackPanel>
                            <StackPanel  Orientation="Horizontal">
                                <TextBlock x:Name="textPictureWatch2"  Text="外形图片" Width="105" FontSize="24" Foreground="#0069ac" 
                                          Visibility="Collapsed"   VerticalAlignment="Center" HorizontalAlignment="Center"/>
                                <Grid Margin="5,0,0,0" Width="130"  Height="110" >
                                    <Image x:Name="ImagePictureName2" Tag="ti2"  HorizontalAlignment="Center"  VerticalAlignment="Center" 
								Width="66" Height="110" Stretch="Fill"/>
                                </Grid>
                            </StackPanel>
                        </StackPanel>
                    </controls:PivotItem.Header>
                    <Grid>
                        <ListBox ItemsSource="{Binding TypePictureItems}" Tap="ListBoxImage_Tap" Margin="0,0,-50,0">
                            <ListBox.ItemsPanel>
                                <ItemsPanelTemplate>
                                    <toolkit:WrapPanel Orientation="Horizontal"  VerticalAlignment="Top" Margin="0"/>
                                </ItemsPanelTemplate>
                            </ListBox.ItemsPanel>
                            <ListBox.ItemTemplate>
                                <DataTemplate>
                                    <Grid  Margin="10" Width="130" Height="150" >
                                        <Image  delay:LowProfileImageLoader.UriSource="{Binding Prevurl, Converter={StaticResource FixUrl}}" 
                                                Stretch="UniformToFill" VerticalAlignment="Center" HorizontalAlignment="Left"/>
                                    </Grid>
                                </DataTemplate>
                            </ListBox.ItemTemplate>
                        </ListBox>
                        <TextBlock x:Name="pictureTextPivot2" Margin="100" Text="没有找到报价的信息" FontSize="20"
						           Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}" Visibility="Collapsed"
								   />
                    </Grid>
                </controls:PivotItem>
            </controls:Pivot>
        </Grid>
        <Grid Background="Transparent" x:Name="Bible" Grid.Row="1"  Margin="5" Visibility="Collapsed">
            <controls:Pivot  x:Name="BiblePivot" 
                             ManipulationCompleted="KLPivotItem_ManipulationCompleted"
                            ManipulationDelta="KLPivotItem_ManipulationDelta" ManipulationStarted="KLPivotItem_ManipulationStarted"
                             SelectionChanged="Bible_Pivot_SelectionChanged"  Loaded="Bible_Pivot_Loaded">
                <controls:PivotItem >
                    <controls:PivotItem.Header>
                        <StackPanel>
                            <StackPanel Orientation="Horizontal">
                                <TextBlock x:Name="textBible1"  Text="手机型号"
								 Width="105"  VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="24" Foreground="#0069ac"/>
                                <TextBlock  x:Name="textBibleName1" 
                                            Margin="20,0,0,0" Width="105" HorizontalAlignment="Center"
								TextWrapping="Wrap" FontSize="18"  VerticalAlignment="Top" Tag="tb1"
                                             Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"/>
                            	<Button x:Name="nameBtn4_1" Content="Button" Height="32" Tag="/Icon/info/del.png" 
								Margin="2,0,0,0" Click="Button_Click"
                                    Style="{StaticResource ButtonStyle2}" Width="32"/>
                            </StackPanel>
                            <StackPanel  Orientation="Horizontal">
                                <TextBlock x:Name="textBibleWatch1"  VerticalAlignment="Center" HorizontalAlignment="Center" Text="外形图片" 
								Width="105"  FontSize="24" Foreground="#0069ac"/>
                                <Grid Margin="5,0,0,0" Width="130"  Height="110">
                                    <Image x:Name="ImageBibleName1"  Tag="ti1"  HorizontalAlignment="Center"  VerticalAlignment="Center" 
								Width="66" Height="110" Stretch="Fill"/>
                                </Grid>
                            </StackPanel>
                        </StackPanel>
                    </controls:PivotItem.Header>
                    <Grid Background="Transparent">
                        <cc:TabControl x:Name="BibleTab" TabStripPlacement="Top" SelectionChanged="TabControl_Bible_SelectionChanged" Background="Transparent" >
                            <cc:TabItem Header="行情" Style="{StaticResource TabItemStyle1}" Width="88" Height="40" FontSize="30" Foreground="White" >
                                <Grid Margin="-10"  x:Name="BibleMarket" Background="Transparent">
                                    <ListBox Margin="5"   Loaded="FirstListBox_Loaded" ItemsSource="{Binding PoneBibleViewItems}" Tap="ListBox_Tap">
                                        <ListBox.ItemTemplate>
                                            <DataTemplate>
                                                <delay:FoodTemplateSelector x:Name="foodTemplateSelector" Content="{Binding}" RenderTransformOrigin="0.5,0.5">
                                                    <delay:FoodTemplateSelector.RenderTransform>
                                                        <CompositeTransform/>
                                                    </delay:FoodTemplateSelector.RenderTransform>
                                                    <delay:FoodTemplateSelector.Head>
                                                        <DataTemplate >
                                                            <Grid Width="480" >
                                                                <StackPanel Orientation="Horizontal" Margin="5">
                                                                    <TextBlock Text="[行情]"   Margin="0" FontSize="22" Foreground="#FF898989"/>
                                                                    <TextBlock Text="{Binding Title}" FontSize="22"   Margin="2,0,0,0" Foreground="#FF002E73"/>
                                                                </StackPanel>
                                                            </Grid>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Head>
                                                    <delay:FoodTemplateSelector.Tail>
                                                        <DataTemplate>
                                                            <StackPanel  Orientation="Horizontal"  Margin="5">
                                                                <TextBlock Text="{Binding Title}"  Margin="0" FontSize="22"  Foreground="#FF42A4FE"/>

                                                            </StackPanel>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Tail>
                                                </delay:FoodTemplateSelector>
                                            </DataTemplate>
                                        </ListBox.ItemTemplate>
                                    </ListBox>
                                    <TextBlock x:Name="TextBibleMarket" Text="没有相关的文章" Height="40"  Visibility="Collapsed" 
								          Margin="162,144,144,0" VerticalAlignment="Top" d:LayoutOverrides="Height"
										  Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"/>

                                </Grid>
                            </cc:TabItem>
                            <cc:TabItem  Header="评测" Style="{StaticResource TabItemStyle1}" Width="88" Height="40">
                                <Grid Margin="-10" x:Name="BibleTest" Background="Transparent">
                                    <ListBox Margin="5"   Loaded="FirstListBox_Loaded" ItemsSource="{Binding PoneBibleViewItems}" Tap="ListBox_Tap">
                                        <ListBox.ItemTemplate>
                                            <DataTemplate>
                                                <delay:FoodTemplateSelector x:Name="foodTemplateSelector" Content="{Binding}" RenderTransformOrigin="0.5,0.5">
                                                    <delay:FoodTemplateSelector.RenderTransform>
                                                        <CompositeTransform/>
                                                    </delay:FoodTemplateSelector.RenderTransform>
                                                    <delay:FoodTemplateSelector.Head>
                                                        <DataTemplate >
                                                            <Grid Width="480" >
                                                                <StackPanel Orientation="Horizontal" Margin="5">
                                                                    <TextBlock Text="[评测]"  FontSize="22" Foreground="#FF898989"/>
                                                                    <TextBlock Text="{Binding Title}" FontSize="22" Margin="0" Foreground="#FF002E73"/>
                                                                </StackPanel>
                                                            </Grid>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Head>
                                                    <delay:FoodTemplateSelector.Tail>
                                                        <DataTemplate>
                                                            <StackPanel Margin="0,5,15,5" Orientation="Horizontal">
                                                                <TextBlock Text="{Binding Title}" Style="{StaticResource PhoneTextExtraLargeStyle}" Margin="0" FontSize="25"/>

                                                            </StackPanel>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Tail>
                                                </delay:FoodTemplateSelector>
                                            </DataTemplate>
                                        </ListBox.ItemTemplate>
                                    </ListBox>
                                    <TextBlock x:Name="TextBibleTest" Text="没有相关的文章" Height="40"   Visibility="Collapsed"
								          Margin="162,144,144,0" VerticalAlignment="Top" d:LayoutOverrides="Height"
										  Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"/>
                                </Grid>
                            </cc:TabItem>
                            <cc:TabItem Header="技巧" Style="{StaticResource TabItemStyle1}" Width="88" Height="40">
                                <Grid Margin="-10"  x:Name="BibleSkill" Background="Transparent">
                                    <ListBox Margin="5"   Loaded="FirstListBox_Loaded" ItemsSource="{Binding PoneBibleViewItems}" Tap="ListBox_Tap">
                                        <ListBox.ItemTemplate>
                                            <DataTemplate>
                                                <delay:FoodTemplateSelector x:Name="foodTemplateSelector" Content="{Binding}" RenderTransformOrigin="0.5,0.5">
                                                    <delay:FoodTemplateSelector.RenderTransform>
                                                        <CompositeTransform/>
                                                    </delay:FoodTemplateSelector.RenderTransform>
                                                    <delay:FoodTemplateSelector.Head>
                                                        <DataTemplate >
                                                            <Grid Width="480" >
                                                                <StackPanel Orientation="Horizontal" Margin="5">
                                                                    <TextBlock Text="[技巧]"   FontSize="22" Foreground="#FF898989"/>
                                                                    <TextBlock Text="{Binding Title}" FontSize="22"   Margin="0"  Foreground="#FF002E73"/>
                                                                </StackPanel>
                                                            </Grid>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Head>
                                                    <delay:FoodTemplateSelector.Tail>
                                                        <DataTemplate>
                                                            <StackPanel Margin="0,5,15,5" Orientation="Horizontal">
                                                                <TextBlock Text="{Binding Title}"  Margin="0" FontSize="25" Foreground="#FF42A4FE" />
                                                            </StackPanel>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Tail>
                                                </delay:FoodTemplateSelector>
                                            </DataTemplate>
                                        </ListBox.ItemTemplate>
                                    </ListBox>
                                    <TextBlock x:Name="TextBibleSkill" Text="没有相关的文章" Height="40"   Visibility="Collapsed"
								          Margin="162,144,144,0" VerticalAlignment="Top" d:LayoutOverrides="Height"
										  Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"/>
                                </Grid>
                            </cc:TabItem>
                            <cc:TabItem Header="bug" Style="{StaticResource TabItemStyle1}" Width="88" Height="40">
                                <Grid Margin="-10"  x:Name="BibleBug" Background="Transparent" >
                                    <ListBox Margin="5"   Loaded="FirstListBox_Loaded" ItemsSource="{Binding PoneBibleViewItems}" Tap="ListBox_Tap">
                                        <ListBox.ItemTemplate>
                                            <DataTemplate>
                                                <delay:FoodTemplateSelector x:Name="foodTemplateSelector" Content="{Binding}" RenderTransformOrigin="0.5,0.5">
                                                    <delay:FoodTemplateSelector.RenderTransform>
                                                        <CompositeTransform/>
                                                    </delay:FoodTemplateSelector.RenderTransform>
                                                    <delay:FoodTemplateSelector.Head>
                                                        <DataTemplate >
                                                            <Grid Width="480" >
                                                                <StackPanel Orientation="Horizontal" Margin="5">
                                                                    <TextBlock Text="[bug]"   FontSize="22" Foreground="#FF898989"/>
                                                                    <TextBlock Text="{Binding Title}" FontSize="22"   Margin="0" Foreground="#FF002E73"/>
                                                                </StackPanel>
                                                            </Grid>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Head>
                                                    <delay:FoodTemplateSelector.Tail>
                                                        <DataTemplate>
                                                            <StackPanel Margin="5" Orientation="Horizontal">
                                                                <TextBlock Text="{Binding Title}"  Foreground="#FF42A4FE"  Margin="0" FontSize="25"/>
                                                            </StackPanel>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Tail>
                                                </delay:FoodTemplateSelector>
                                            </DataTemplate>
                                        </ListBox.ItemTemplate>
                                    </ListBox>
                                    <TextBlock x:Name="TextBibleBug" Text="没有相关的文章" Height="40"   Visibility="Collapsed"
								          Margin="162,144,144,0" VerticalAlignment="Top" d:LayoutOverrides="Height"
										  Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"/>
                                </Grid>
                            </cc:TabItem>
                            <cc:TabItem Header="购机" Style="{StaticResource TabItemStyle1}" Width="90" Height="40">
                                <Grid Margin="-10" x:Name="BibleBuyphone" Background="Transparent" >
                                    <ListBox Margin="5"   Loaded="FirstListBox_Loaded" ItemsSource="{Binding PoneBibleViewItems}" Tap="ListBox_Tap">
                                        <ListBox.ItemTemplate>
                                            <DataTemplate>
                                                <delay:FoodTemplateSelector x:Name="foodTemplateSelector" Content="{Binding}" RenderTransformOrigin="0.5,0.5">
                                                    <delay:FoodTemplateSelector.RenderTransform>
                                                        <CompositeTransform/>
                                                    </delay:FoodTemplateSelector.RenderTransform>
                                                    <delay:FoodTemplateSelector.Head>
                                                        <DataTemplate >
                                                            <Grid Width="480" >
                                                                <StackPanel Orientation="Horizontal" Margin="5">
                                                                    <TextBlock Text="[购机]"  FontSize="22" Foreground="#898989"/>
                                                                    <TextBlock Text="{Binding Title}"  FontSize="22"   Margin="0"  Foreground="#FF002E73"/>
                                                                </StackPanel>
                                                            </Grid>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Head>
                                                    <delay:FoodTemplateSelector.Tail>
                                                        <DataTemplate>
                                                            <StackPanel Margin="0,5,15,5" Orientation="Horizontal">
                                                                <TextBlock Text="{Binding Title}"  Foreground="#FF42A4FE" Margin="0" FontSize="25"/>
                                                            </StackPanel>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Tail>
                                                </delay:FoodTemplateSelector>
                                            </DataTemplate>
                                        </ListBox.ItemTemplate>
                                    </ListBox>
                                    <TextBlock x:Name="TextBibleBuy" Text="没有相关的文章" Height="40"  Visibility="Collapsed"
								          Margin="162,144,144,0" VerticalAlignment="Top" d:LayoutOverrides="Height"
										  Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"/>
                                </Grid>
                            </cc:TabItem>
                        </cc:TabControl>
                    </Grid>
                </controls:PivotItem>
                <controls:PivotItem>
                    <controls:PivotItem.Header>
                        <StackPanel>
                            <StackPanel Orientation="Horizontal">
                                <TextBlock x:Name="textBible2"  Text="手机型号" Width="105" FontSize="24"  VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="#0069ac"/>
                                <TextBlock  x:Name="textBibleName2" Margin="20,0,0,0" Width="105" HorizontalAlignment="Center"
								TextWrapping="Wrap" FontSize="18"  VerticalAlignment="Top" Tag="tb2"
                                             Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"/>
                            	<Button x:Name="nameBtn4_2" Content="Button" Height="32" Tag="/Icon/info/del.png" 
								Margin="2,0,0,0" Click="Button_Click_2"
                                    Style="{StaticResource ButtonStyle2}" Width="32"/>
                            </StackPanel>
                            <StackPanel  Orientation="Horizontal">
                                <TextBlock x:Name="textBibleWatch2"  Text="外形图片" Width="105" FontSize="24" Foreground="#0069ac" 
									           VerticalAlignment="Center" HorizontalAlignment="Center"/>
                                <Grid  Margin="5,0,0,0" Width="130"  Height="110" >
                                    <Image x:Name="ImageBibleName2" HorizontalAlignment="Center" Tag="ti2"  VerticalAlignment="Center" 
								Width="66" Height="110" Stretch="Fill"/>
                                </Grid>
                            </StackPanel>
                        </StackPanel>
                    </controls:PivotItem.Header>
                    <Grid>
                        <cc:TabControl x:Name="BibleTab_2" TabStripPlacement="Top" SelectionChanged="TabControl_Bible_SelectionChanged" Background="Transparent" >
                            <cc:TabItem Header="行情" Style="{StaticResource TabItemStyle1}" Width="88" Height="40" Foreground="White" >
                                <Grid Margin="-10"  x:Name="BibleMarket_2" Background="Transparent">
                                    <ListBox Margin="5"   Loaded="FirstListBox_Loaded" ItemsSource="{Binding PoneBibleViewItems}" Tap="ListBox_Tap">
                                        <ListBox.ItemTemplate>
                                            <DataTemplate>
                                                <delay:FoodTemplateSelector x:Name="foodTemplateSelector" Content="{Binding}" RenderTransformOrigin="0.5,0.5">
                                                    <delay:FoodTemplateSelector.RenderTransform>
                                                        <CompositeTransform/>
                                                    </delay:FoodTemplateSelector.RenderTransform>
                                                    <delay:FoodTemplateSelector.Head>
                                                        <DataTemplate >
                                                            <Grid Width="480" >
                                                                <StackPanel Orientation="Horizontal" Margin="10">
                                                                    <TextBlock Text="[行情]"  FontSize="22" Foreground="#898989"/>
                                                                    <TextBlock Text="{Binding Title}" FontSize="22"   Margin="0" Foreground="#FF42A4FE"/>
                                                                </StackPanel>
                                                            </Grid>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Head>
                                                    <delay:FoodTemplateSelector.Tail>
                                                        <DataTemplate>
                                                            <StackPanel Margin="0,5,15,5" Orientation="Horizontal">
                                                                <TextBlock Text="{Binding Title}" Foreground="#FF42A4FE" Margin="0" FontSize="25"/>

                                                            </StackPanel>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Tail>
                                                </delay:FoodTemplateSelector>
                                            </DataTemplate>
                                        </ListBox.ItemTemplate>
                                    </ListBox>
                                    <TextBlock x:Name="TextBibleMarket_2" Text="没有相关的文章" Height="40"   Visibility="Collapsed"
								          Margin="162,144,144,0" VerticalAlignment="Top" d:LayoutOverrides="Height"
										  Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"/>

                                </Grid>
                            </cc:TabItem>
                            <cc:TabItem  Header="评测" Style="{StaticResource TabItemStyle1}" Width="88" Height="40">
                                <Grid Margin="-10" x:Name="BibleTest_2" Background="Transparent">
                                    <ListBox Margin="5"   Loaded="FirstListBox_Loaded" ItemsSource="{Binding PoneBibleViewItems}" Tap="ListBox_Tap">
                                        <ListBox.ItemTemplate>
                                            <DataTemplate>
                                                <delay:FoodTemplateSelector x:Name="foodTemplateSelector" Content="{Binding}" RenderTransformOrigin="0.5,0.5">
                                                    <delay:FoodTemplateSelector.RenderTransform>
                                                        <CompositeTransform/>
                                                    </delay:FoodTemplateSelector.RenderTransform>
                                                    <delay:FoodTemplateSelector.Head>
                                                        <DataTemplate >
                                                            <Grid Width="480" >
                                                                <StackPanel Orientation="Horizontal" Margin="10">
                                                                    <TextBlock Text="[评测]"  FontSize="22" Foreground="#898989"/>
                                                                    <TextBlock Text="{Binding Title}" FontSize="22"   Margin="0" Foreground="#FF42A4FE"/>
                                                                </StackPanel>
                                                            </Grid>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Head>
                                                    <delay:FoodTemplateSelector.Tail>
                                                        <DataTemplate>
                                                            <StackPanel Margin="0,5,15,5" Orientation="Horizontal">
                                                                <TextBlock Text="{Binding Title}" Foreground="#FF42A4FE" Margin="0" FontSize="25"/>
                                                            </StackPanel>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Tail>
                                                </delay:FoodTemplateSelector>
                                            </DataTemplate>
                                        </ListBox.ItemTemplate>
                                    </ListBox>
                                    <TextBlock x:Name="TextBibleTest_2" Text="没有相关的文章" Height="40"   Visibility="Collapsed"
								          Margin="162,144,144,0" VerticalAlignment="Top" d:LayoutOverrides="Height"
										  Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"/>

                                </Grid>
                            </cc:TabItem>
                            <cc:TabItem Header="技巧" Style="{StaticResource TabItemStyle1}" Width="88" Height="40">
                                <Grid Margin="-10"  x:Name="BibleSkill_2" Background="Transparent">
                                    <ListBox Margin="5"   Loaded="FirstListBox_Loaded" ItemsSource="{Binding PoneBibleViewItems}" Tap="ListBox_Tap">
                                        <ListBox.ItemTemplate>
                                            <DataTemplate>
                                                <delay:FoodTemplateSelector x:Name="foodTemplateSelector" Content="{Binding}" RenderTransformOrigin="0.5,0.5">
                                                    <delay:FoodTemplateSelector.RenderTransform>
                                                        <CompositeTransform/>
                                                    </delay:FoodTemplateSelector.RenderTransform>
                                                    <delay:FoodTemplateSelector.Head>
                                                        <DataTemplate >
                                                            <Grid Width="480" >
                                                                <StackPanel Orientation="Horizontal" Margin="10">
                                                                    <TextBlock Text="[技巧]"   FontSize="22" Foreground="#898989"/>
                                                                    <TextBlock Text="{Binding Title}" FontSize="22"   Margin="0" Foreground="#FF42A4FE"/>
                                                                </StackPanel>
                                                            </Grid>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Head>
                                                    <delay:FoodTemplateSelector.Tail>
                                                        <DataTemplate>
                                                            <StackPanel Margin="0,5,15,5" Orientation="Horizontal">
                                                                <TextBlock Text="{Binding Title}" Foreground="#FF42A4FE" Margin="0" FontSize="25"/>

                                                            </StackPanel>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Tail>
                                                </delay:FoodTemplateSelector>
                                            </DataTemplate>
                                        </ListBox.ItemTemplate>
                                    </ListBox>
                                    <TextBlock x:Name="TextBibleSkill_2" Text="没有相关的文章" Height="40"   Visibility="Collapsed"
								          Margin="162,144,144,0" VerticalAlignment="Top" d:LayoutOverrides="Height"
										  Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"/>
                                </Grid>
                            </cc:TabItem>
                            <cc:TabItem Header="bug" Style="{StaticResource TabItemStyle1}" Width="88" Height="40">
                                <Grid Margin="-10"  x:Name="BibleBug_2" Background="Transparent" >
                                    <ListBox Margin="5"   Loaded="FirstListBox_Loaded" ItemsSource="{Binding PoneBibleViewItems}" Tap="ListBox_Tap">
                                        <ListBox.ItemTemplate>
                                            <DataTemplate>
                                                <delay:FoodTemplateSelector x:Name="foodTemplateSelector" Content="{Binding}" RenderTransformOrigin="0.5,0.5">
                                                    <delay:FoodTemplateSelector.RenderTransform>
                                                        <CompositeTransform/>
                                                    </delay:FoodTemplateSelector.RenderTransform>
                                                    <delay:FoodTemplateSelector.Head>
                                                        <DataTemplate >
                                                            <Grid Width="480" >
                                                                <StackPanel Orientation="Horizontal" Margin="10">
                                                                    <TextBlock Text="[bug]"   FontSize="22" Foreground="#898989"/>
                                                                    <TextBlock Text="{Binding Title}" FontSize="22"   Margin="0" Foreground="#FF42A4FE"/>
                                                                </StackPanel>
                                                            </Grid>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Head>
                                                    <delay:FoodTemplateSelector.Tail>
                                                        <DataTemplate>
                                                            <StackPanel Margin="0,5,15,5" Orientation="Horizontal">
                                                                <TextBlock Text="{Binding Title}" Foreground="#FF42A4FE" Margin="0" FontSize="25"/>

                                                            </StackPanel>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Tail>
                                                </delay:FoodTemplateSelector>
                                            </DataTemplate>
                                        </ListBox.ItemTemplate>
                                    </ListBox>
                                    <TextBlock x:Name="TextBibleBug_2" Text="没有相关的文章" Height="40"   Visibility="Collapsed"
								          Margin="162,144,144,0" VerticalAlignment="Top" d:LayoutOverrides="Height"
										  Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"/>
                                </Grid>
                            </cc:TabItem>
                            <cc:TabItem Header="购机" Style="{StaticResource TabItemStyle1}" Width="90" Height="40">
                                <Grid Margin="-10" x:Name="BibleBuyphone_2" Background="Transparent" >
                                    <ListBox Margin="5"   Loaded="FirstListBox_Loaded" ItemsSource="{Binding PoneBibleViewItems}" Tap="ListBox_Tap">
                                        <ListBox.ItemTemplate>
                                            <DataTemplate>
                                                <delay:FoodTemplateSelector x:Name="foodTemplateSelector" Content="{Binding}" RenderTransformOrigin="0.5,0.5">
                                                    <delay:FoodTemplateSelector.RenderTransform>
                                                        <CompositeTransform/>
                                                    </delay:FoodTemplateSelector.RenderTransform>
                                                    <delay:FoodTemplateSelector.Head>
                                                        <DataTemplate >
                                                            <Grid Width="480" >
                                                                <StackPanel Orientation="Horizontal" Margin="10">
                                                                    <TextBlock Text="[购机]"  FontSize="22" Foreground="#898989"/>
                                                                    <TextBlock Text="{Binding Title}"  FontSize="22"   Margin="0" Foreground="#FF42A4FE"/>
                                                                </StackPanel>
                                                            </Grid>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Head>
                                                    <delay:FoodTemplateSelector.Tail>
                                                        <DataTemplate>
                                                            <StackPanel Margin="0,5,15,5" Orientation="Horizontal">
                                                                <TextBlock Text="{Binding Title}" Foreground="#FF42A4FE" Margin="0" FontSize="25"/>

                                                            </StackPanel>
                                                        </DataTemplate>
                                                    </delay:FoodTemplateSelector.Tail>
                                                </delay:FoodTemplateSelector>
                                            </DataTemplate>
                                        </ListBox.ItemTemplate>
                                    </ListBox>
                                    <TextBlock x:Name="TextBibleBuy_2" Text="没有相关的文章" Height="40"  Visibility="Collapsed"
								          Margin="162,144,144,0" VerticalAlignment="Top" d:LayoutOverrides="Height"
										  Foreground="{Binding cuTheme.SecondTextBrush, Source={StaticResource Theme}}"/>
                                </Grid>
                            </cc:TabItem>
                        </cc:TabControl>
                    </Grid>
                </controls:PivotItem>
            </controls:Pivot>
        </Grid>
        <local:TabSwitch x:Name="tabswitch" Height="55" Grid.Row="2" VerticalAlignment="Bottom" Width="Auto" Selected="tabswitch_Selected" Margin="0" Background="#FF0A76D2">
            <local:TabSwitchItem Head="参数" Margin="0" Foreground="#ffffff"/>
            <local:TabSwitchItem Head="报价" Margin="0" Foreground="#FF60AFF1"/>
            <local:TabSwitchItem Head="点评" Margin="0,0,0,3" Foreground="#FF60AFF1"/>
            <local:TabSwitchItem Head="图片" Margin="0,0,0,3" Foreground="#FF60AFF1"/>
            <local:TabSwitchItem Head="宝典" Margin="0" Foreground="#FF60AFF1"/>
        </local:TabSwitch>
        <Popup x:Name="PopFull" Visibility="Collapsed">
            <Grid Background="#FF938D8D" Height="800" Width="480" Opacity="0.95">
                <ProgressBar  Foreground="Orange" x:Name="ProgBarPop" Visibility="Collapsed"  IsIndeterminate="True" Height="10" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0" Grid.ColumnSpan="2"  Width="480" />
                <StackPanel HorizontalAlignment="Center" Height="300" VerticalAlignment="Center" Width="400" Background="Black" Margin="0,0,0,450">
                    <StackPanel Height="70" Orientation="Horizontal">
                        <TextBlock TextWrapping="Wrap" Text="星级：" Width="70" Margin="5,15,0,0" HorizontalAlignment="Center"/>
                        <local:StarMark x:Name="StartControl"  MarkedFill="Orange" Width="Auto" MaxStars="5" Marked="0" HorizontalAlignment="Left" Height="40" Margin="0,15,0,0" BorderBrush="Transparent" Background="Transparent" VerticalAlignment="Top"/>
                    </StackPanel>
                    <StackPanel Height="80" Orientation="Horizontal">
                        <TextBlock TextWrapping="Wrap" Text="优点：" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,20,0,0"/>
                        <TextBox x:Name="Advant" TextWrapping="Wrap" Text=""  Width="330" Margin="0,0,0,5"/>
                    </StackPanel>
                    <StackPanel Height="80" Orientation="Horizontal">
                        <TextBlock TextWrapping="Wrap" Text="缺点：" Margin="5,25,0,0"/>
                        <TextBox x:Name="Defect" TextWrapping="Wrap" Text="" Width="330"  Margin="0"/>
                    </StackPanel>
                    <Button Content="提交" x:Name="Conmmit" HorizontalAlignment="Center" Click="Conmit_Click"/>
                </StackPanel>
            </Grid>
        </Popup>
        <Popup x:Name="ImagePoP">
            <Grid Background="Black" Height="800" Width="480" >
                <toolkit:GestureService.GestureListener>
                    <toolkit:GestureListener  Flick="Popup_Flick"  />
                </toolkit:GestureService.GestureListener>
                <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">

                    <Image  x:Name="image" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,100"/>

                </StackPanel>
            </Grid>
        </Popup>
        <Popup x:Name="PopConmment" Visibility="Collapsed" d:IsHidden="True">
            <Grid Background="Black" Height="800" Width="480" Opacity="0.95">
                <StackPanel Margin="0,0,0,400" Background="{StaticResource PhoneAccentBrush}" HorizontalAlignment="Center" VerticalAlignment="Center">
                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                        <CheckBox x:Name="qualityCheckBox" Content="质量" Width="165"/>
                        <CheckBox  x:Name="breedCheckBox" Content="品牌" Width="165" Height="72"/>
                    </StackPanel>
                    <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
                        <CheckBox  x:Name="priceCheckBox" Content="价格" Width="165" Height="72"/>
                        <CheckBox  x:Name="effectCheckBox" Content="功能" Width="165" Height="72"/>
                    </StackPanel>
                    <StackPanel Orientation="Horizontal">
                        <CheckBox  x:Name="faceCheckBox" Content="外观" Width="165" Height="72"/>
                        <CheckBox  x:Name="otherCheckBox" Content="其他"/>
                    </StackPanel>
                    <StackPanel Orientation="Horizontal" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Top" >
                        <Button x:Name="VoteButtonOk" Content="确定" Height="70" Margin="0"  Click="PhonePkCommentOk" HorizontalAlignment="Left" VerticalAlignment="Top" Width="120"/>
                        <Button  x:Name="VoteButtonCancel" Content="取消" Height="70" Margin="35,0,0,0"  Click="PhonePkCommentCancl" VerticalAlignment="Top" HorizontalAlignment="Left" Width="120"/>
                    </StackPanel>
                </StackPanel>
            </Grid>
        </Popup>
    </Grid>
</phone:PhoneApplicationPage>
